ios - iTunes Connect 提交代码签名权利错误 Xcode 8

标签 ios xcode app-store-connect xcode8

我在使用 Xcode 8 GM 提交最新的应用程序更新时遇到问题。我在这次更新中更新了我的 iPhone 和 watchOS 应用程序。

尝试提交时出现以下错误:

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 中选中“自动管理签名”将签名设置为自动。我觉得一切都很好。

在到处寻找解决方案后,我尝试将build设置中的代码签名标识更改为 iOS 分发。这也立即给我一个错误:

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
  • 吊销了我的分发证书

是否有其他人遇到过类似问题并且知道如何解决?

提前致谢!

最佳答案

对我有帮助的是:

我取消选中“自动管理签名”,然后再次选中它。 之后 Xcode 告诉我它将把设置重置为默认值,然后它终于工作了。

关于ios - iTunes Connect 提交代码签名权利错误 Xcode 8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39453669/

相关文章:

ios - 定时器结束时执行segue

ios - iCloud 核心数据不同步

iphone - 我想使用 Phonegap 仅定位 iPhone(不是 iPad)

c++ - OpenGL:从 Visual Studio 源代码到 XCode 4?

ios - 如何设置最低要求的 iOS 版本?

ios - 将数据传输到 WebView

ios - 无法从 Localizable.strings 文件中检索本地化字符串

iphone - UITableView 滚动事件

ios - 将应用程序提交到 iTunes 连接时出错 : "Invalid Signature - Code object is not signed at all"

ios - 6.5"显示器的 App store 屏幕截图尺寸是多少?