不能从以前的版本更改捆绑标识符 [英] Bundle identifier cannot be changed from previous version

查看:27
本文介绍了不能从以前的版本更改捆绑标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试将我的应用程序的第一个更新提交到 iTunes Connect 时出错.

I have an error when trying to submit the first update for my app to iTunes Connect.

当通过分发操作提交到 iOS App Store"时,我选择了我在 iTunes Connect 中创建的新应用程序版本,以及唯一可用的代码签名标识.XCode 然后告诉我

When going through the Distribute operation to "Submit to the iOS App Store" I pick the new app version I have created in iTunes Connect, and the only Code Signing Identity available. XCode then tells me that

此捆绑包无效.捆绑包标识符不能从以前的版本.如果您想更改捆绑包标识符,您需要在 iTunes Connect 中创建一个新应用程序."

"This bundle is invalid. The bundle identifier cannot be changed from the previous version. If you want to change your bundle identifier, you will need to create a new application in iTunes Connect."

但是,我的应用程序的 iTunes Connect 页面告诉我 Bundle ID 是

However, the iTunes Connect page for my app tells me that the Bundle ID is

com.mycompany.myapp

在 XCode 目标摘要中,捆绑标识符设置为

And in the XCode Targets Summary the Bundle Identifier is set to

com.mycompany.myapp

我确实从网页上复制了文本并将其粘贴到 XCode 中以确保.

I have literally copied the text from the web page and pasted it into XCode to be sure.

版本和内部版本号比 iTunes 中已有的版本高 0.1.

The the Version and Build numbers are 0.1 higher than the version already in iTunes.

我试过了:

  • 谷歌搜索
  • 删除管理器中的派生数据目录
  • 更改包 ID,存档然后再次更改回来
  • 甚至再次打开和关闭它

一切都无济于事.似乎没有捆绑标识符不能从以前的版本更改"的谷歌结果,尽管有很多包含次要"一词,但不幸的是它们没有帮助.

All to no avail. There appears to be no google result for "The bundle identifier cannot be changed from the previous version" though quite a few that include the word "minor" but unfortunately they do not help.

推荐答案

我收到此错误,直到我转到 iTunesConnect 并为新版本按下准备上传",此时状态更改为等待上传"".捆绑标识符从来没有任何问题,因此捆绑标识符无法从以前的版本更改"消息非常具有误导性.

I was getting this error until I went to iTunesConnect and pressed "Ready for Upload" for the new version, at which point the status changes to "Waiting For Upload". There was never anything wrong with the bundle identifier, so the message "bundle identifier cannot be changed from the previous version" is very misleading.

这篇关于不能从以前的版本更改捆绑标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆