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

查看:32
本文介绍了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"编辑器,或切换到项目编辑器中的手动签名.代码SDKiOS 10.0"中的产品类型应用程序"需要签名

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:

  • project > Alt + Clean(清理整个构建文件夹)
  • 重新启动 xcode(帮助了许多其他人!)
  • 撤销所有配置文件并让 Xcode 创建新的配置文件(Xcode > Preferences > Accounts > View Details > Create next to iOS Distribution)
  • 检查所有 App ID 名称是否正确
    • 对于 com.AB.CDE,名称必须是com AB CDE"

    这篇关于iTunes Connect 提交代码签名权利错误 Xcode 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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