2015-10-19 139 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證書登錄和系統標籤問題是固定