Uploading archive error: "Missing iOS Distribution signing identity for ..."

Uploading archive error: "Missing iOS Distribution signing identity for ..."

我正在尝试使用 Xcode 将我的 iOS 应用存档上传到 iTunes Connect,但是当我单击 "Upload to App Store" 时出现错误:

Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues. Missing iOS Distribution signing identity for _____. Xcode can request one for you.

我真的很困惑,因为大约 2 小时前我刚刚成功上传了同一个应用程序的存档,然后我需要做一个简单的修复,然后需要重新上传存档,现在我是收到此错误。我没碰其他东西。

我已尽我所能尝试解决问题,我重新启动了 Xcode 我的计算机,转到 Xcode 首选项以单击 'Download All' 配置配置文件,单击同一页面上 iOS 分发上的 "Reset",再次从会员中心下载 iOS 分发配置文件,转到我应用程序构建设置中的代码签名设置并手动设置将签名身份发布到 iOS 分发配置文件,并重新归档多次。

更新:原来是因为 WWDRCA 今天到期:https://developer.apple.com/support/certificates/expiration/ 还有很多其他人遇到同样的问题。通过将计算机上的日期改回 1 天,我能够暂时绕过这个问题。

虽然看起来很奇怪,但将计算机的日期设置后退一天是可行的。

我遇到了同样的问题,并且能够通过在我的钥匙串中安装这个 "Apple World Wide Developer Relations Certificate Authority" 证书来解决它:link

我遇到了同样的问题,唯一对我有用的是按照其他响应者的建议将计算机的日期设置为倒数,我尝试下载 "Apple World Wide Developer Relations Certificate Authority" 但没有成功。

问题是因为 Apple WWDRCA 今天(2016 年 2 月 14 日)过期:https://developer.apple.com/support/certificates/expiration/

打开Keychain Access,然后在菜单中单击View -> Show Expired Certificates.然后,从 loginSystem 钥匙链中删除过期的 Apple Worldwide Developer Relations Certificate Authority。通过从 https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 下载并打开它来安装来自 Apple 的更新证书。

此外,您可能需要重新启动 Xcode 以反映更改。然后,清理并构建您的项目,然后重新尝试生成您的存档。

这是 Apple 的声明。

Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the new WWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.

https://forums.developer.apple.com/thread/37208

  1. 下载https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 并双击安装到 Keychain.
  2. Select "View" -> "Show Expired Certificates"Keychain app.
  3. "login" 选项卡和 [=45= 中删除 Apple 全球开发者关系证书颁发机构证书] 钥匙串应用中的选项卡。

Edited by :Jeremy Molayem 确保新下载的证书在登录和系统中默认为仅系统选项卡仍然会出错。**

下面的答案是唯一有效的答案。请标记为解决方案

问题是因为 Apple WWDRCA 今天(2016 年 2 月 14 日)过期了:https://developer.apple.com/support/certificates/expiration/

打开 Keychain Access,然后在菜单中单击“查看”->“显示过期证书”。然后,从登录和系统钥匙串中删除过期的 Apple Worldwide Developer Relations Certificate Authority。通过从 https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 下载并打开它来安装来自 Apple 的更新证书。

  1. 下载https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
  2. 双击将其安装到您的钥匙串中。
  3. 然后从 Keychain,Select 在 Keychain 应用程序中查看 -> "Show Expired Certificates"。
  4. 它将列出所有过期的证书。
  5. 删除“Apple 全球开发者关系证书颁发机构 "login" 选项卡
  6. 中的证书"
  7. 并将其从 "System" 选项卡中删除。
  8. 重启你的Mac

现在您的系统已准备好上传应用

我遇到了完全相同的问题,我几乎尝试了所有方法,我删除了钥匙串上的过期证书,下载了新的 WWDRCA,因为其他人已将 link 发布到。编辑并重新下载我的配置文件。然后退出 xcode 打开它备份并清理但没有任何效果。唯一对我有用的是将 Mac 上的日期更改为 2016 年 1 月 1 日,并且它完美上传了!这显然不是永久性修复,但我在截止日期前,需要尽快上传,所以希望这对处于类似情况的人有所帮助。

如果您已续订开发者帐户,请转至 Provisioning Profiles 网站并在开发者资料中续订。