2015-10-19 44 views
7

当我尝试存档我的应​​用程序,我得到这个错误...Xcode中归档错误:缺少IOS分布签名身份(姓名)

Archive Error Image

我已经做了很多的研究,但似乎无法弄清楚。我已经尝试了一切,从吊销和重新创建我的证书,并重新创建配置文件。

我该怎么办?

+0

你下载证书的Xcode?另外,请确保您使用正确的架构来存档构建 –

+0

是你正在尝试的新的mac系统吗? –

+0

我正在使用新的mac。 –

回答

36

根据苹果开发者论坛上,苹果全球开发者关系中级证书有效期到期2016年2月14日。

... 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.

遵循以下简单步骤:

  1. 开放从顶部菜单钥匙扣去查看>显示过期证书
  2. 现在在钥匙串中找到过期苹果全球开发者关系的证书颁发机构登录选项卡,并从左侧面板系统标签和两个标签中删除。
  3. 下载证书:https://developer.apple.com/certificationauthority/AppleWWDRCA.cer并双击安装即可。
  4. 重新启动Xcode。
+2

几乎错过了 - '在左侧面板的“登录”选项卡和“系统”选项卡中,但是这样排序 - 将此标记为答案!请记住,您需要删除过期的两次。 – EvilGeniusJamie

+1

我只花了一个小时试图找出为什么我的Ad-hoc应用程序不会签名。谢谢!这需要被标记为答案OP! –

+1

你刚刚救了我的理智! – Benjamin

0

我花了很多时间,由于这个certificate.After删除WWDR证书登录和系统标签问题是固定