iTunes Connect提交代码签名权利错误Xcode 8 [英] iTunes Connect submission code signing entitlements error Xcode 8

查看:148
本文介绍了iTunes Connect提交代码签名权利错误Xcode 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使用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:

iTunes Store操作失败.无效的代码签名权利.你的 应用程序束的签名包含代码签名权利,这些权利 在iOS上不受支持.具体来说,值为"QX3TDZXXXX.AppName" 对于关键的应用程序标识符" 不支持"Payload/AppName.app/AppName".这个值 应该是一个以您的TEAMID开头的字符串,后跟一个点.", 然后是包标识符.

iTunes Store operation failed. Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'QX3TDZXXXX.AppName' for key 'application-identifier' in 'Payload/AppName.app/AppName' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier.

我通过在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:

AppName的配置设置有冲突.应用名称为 自动签名进行开发,但代码签名冲突 身份iPhone分发已手动指定.设置密码 在构建设置中将身份值签名到"iPhone Developer" 编辑器,或在项目编辑器中切换到手动签名.代码 SDK'iOS 10.0'中的产品类型'Application'需要签名

AppName has conflicting provisioning settings. AppName is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'

我也是:

  • 清理过的项目
  • 重新启动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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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