上传归档错误: “丢失的 iOS 发行版签名标识... ...”

我试图用 Xcode 把我的 iOS 应用程序上传到 iTunes Connect,但是当我点击“上传到应用程序商店”时,我得到了一个错误:

Xcode 试图定位或生成匹配的签名资产,并且 由于以下原因未能做到这一点 _ _ _ _. Xcode 的分发签名标识可以请求 你。

我真的很困惑,因为我在2小时前刚刚成功地上传了同一个应用程序的存档,然后我需要做一个简单的修复,然后需要重新上传存档,现在我得到了这个错误。我什么都没碰。

为了解决这个问题,我已经做了所有我能想到的事情。我重启了 Xcode,我的电脑,进入 Xcode 偏好设置,在配置文件上点击“全部下载”,在同一页面上点击“重置”,再次从会员中心下载 iOS 发布文件,进入我的应用程序的构建设置中的代码签名设置,手动设置发布签名标识到 iOS 发布文件,并重新存档了几次。

更新: 原来是由于 WWDRCA 将于今天到期: < a href = “ https://developer.apple.com/support/證明书/到期/”> https://developer.apple.com/support/certificates/expiration/ 还有很多人也遇到了同样的问题。我能够暂时绕过这个问题通过改变我的电脑上的日期回到1天。

32139 次浏览

As odd as it may seem, setting the computer's date back one day works.

I had the same problem and was able to fix it by installing this "Apple World Wide Developer Relations Certificate Authority" certificate in my keychain: link

I faced the same issue and the only thing that worked for me was setting the computer's date backwards as suggested by other responders, I tried downloading the "Apple World Wide Developer Relations Certificate Authority" but no luck.

The issue is because the Apple WWDRCA expired today (Feb 14, 2016): https://developer.apple.com/support/certificates/expiration/

Open Keychain Access, and in the menu, click View -> Show Expired Certificates. Then, delete the expired Apple Worldwide Developer Relations Certificate Authority from both the login and System Keychains. Install the renewed certificate from Apple by downloading from https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and then opening it.

Also, you might need to restart Xcode to reflect the changes. Then, clean and build your project then re-try generating your archive.

Your keychain should show like that

Here's statement from 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. Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and double-click to install to Keychain.
  2. Select "View" -> "Show Expired Certificates" in Keychain app.
  3. Delete Apple Worldwide Developer Relations Certificate Authority certificates from "login" tab and "System" tab in Keychain app.

Edited by :Jeremy Molayem Ensure the new downloaded cert is in both login and system Default to only system tab will still give error.**

This answer below is the only one that works. Please mark it as the solution

The issue is because the Apple WWDRCA expired today (Feb 14, 2016): https://developer.apple.com/support/certificates/expiration/

Open Keychain Access, and in the menu, click View -> Show Expired Certificates. Then, delete the expired Apple Worldwide Developer Relations Certificate Authority from both the login and System Keychains. Install the renewed certificate from Apple by downloading from https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and then opening it.

  1. Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
  2. Double-click to install it in your Keychain.
  3. Then from Keychain, Select View -> "Show Expired Certificates" in Keychain app.
  4. It will list all the expired certificates.
  5. Delete "Apple Worldwide Developer Relations Certificate Authority certificates" from "login" tab
  6. And also delete it from "System" tab.
  7. Restart your Mac

Now your system is ready to upload the App

I was having this exact same problem and I tried literally everything, I deleted expired certificates on keychain, downloaded the new WWDRCA as others have posted a link to. Edited and re-download my provisioning profile. and then quit xcode opened it back up and cleaned but nothing worked. The only thing that did work for me was changing the date on my Mac to Jan 1st 2016 and it uploaded perfectly! This obviously isn't a permanent fix but I'm on a deadline and it needed to get uploaded asap so hopefully this helps someone in a similar situation.

If you have renewed your account developer, go to Provisioning Profiles site and renew in developer profile.