问题描述
我无法使用Xcode 8 GM提交我的最新应用程序更新.我在此更新中更新了iPhone和watchOS应用.
I am having trouble submitting my newest app update with Xcode 8 GM. I updated my iPhone and watchOS app in this update.
尝试提交时出现以下错误:
When trying to submit I get the following error:
我通过在Xcode中选中自动管理签名"来将签名设置为自动.一切对我来说都很好.
I set signing to automatic by checking "Automatically manage signing" in Xcode. Everything looks fine to me.
在各处寻找解决方案后,我尝试将构建设置"中的代码签名身份"更改为iOS发行版.那也立刻给我一个错误:
After searching for a solution everywhere I tried to change the Code Signing Identity in Build Settings to iOS Distribution. That also gives me an error right away:
我也是:
- 清理过的项目
- 重新启动Xcode
- 重新启动了我的Mac
- 撤销了我的发行证书
其他人也有类似的问题并且知道如何解决吗?
Did someone else have a similar problem and knows how to fix it?
提前谢谢!
推荐答案
我为此浪费了整整一天的时间,但最终找到了解决方案!
I wasted more than a whole day on this but I finally found the solution!
在我的构建设置中,产品捆绑包标识符"只是我的应用程序名称,而不是唯一的捆绑包标识符(例如com.YX.AppName).
单击您的项目,选择您的应用程序,按构建设置"并搜索打包".您应该在那找到它.
Click on your project, choose your App, press Build Settings and search for "packaging". You should find it there.
通过创建一个全新的项目并比较每个设置来发现这一点.
Found this by creating a brand new project and comparing every single setting.
如果这不是您的项目中的问题,那么这些就是我之前在该主题上发现的.也许这些事情之一可以帮助您:
In case this is not what is wrong in your project, these are the things I found on this topic before. Maybe one of these things might help you:
- 项目> Alt + Clean(清除整个构建文件夹)
- 重新启动xcode(这对其他人有所帮助!)
- 撤消了所有的配置文件,并让Xcode创建新的配置文件(Xcode>首选项>帐户>查看详细信息>在iOS发行版旁边创建)
- 检查所有应用程序ID名称是否正确
- 对于com.AB.CDE,名称必须为"com AB CDE"
- project > Alt + Clean (Cleans the whole Build Folder)
- restarted xcode (that helped many others!)
- revoked all Provisioning Profiles and let Xcode create new ones (Xcode > Preferences > Accounts > View Details > Create next to iOS Distribution)
- checked that all App ID names where right
- for com.AB.CDE the name has to be "com AB CDE"
这篇关于iTunes Connect提交代码签名权利错误Xcode 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!