IOS學習 Apple World Wide Developer Relations Certificate Authority證書過期

從2月14號開始,上傳AppStore時可能會碰到這個問題:
Failed to locate or generate matching signing assets
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.
截圖如下:



原因是Apple World Wide Developer Relations Certificate Authority的過期時間是2016年2月14。蘋果的回答如下:
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 newWWDR 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.
簡單的說就是頒發開發者證書的根證書過期了。如果這個時候你打開keychain看你的發佈證書會是這樣的:


就是這個Apple World Wide Developer Relations Certificate Authority過期了,所以這個頒發的證書都不能使用了。
現在來說下解決方案:
1.打開keychain(鑰匙串),在登錄和系統中找到過期的 Apple World Wide Developer Relation Certification Authority,然後刪除它
注意在keychain顯示菜單下,設置成顯示過期證書


2.下載這個鏈接裏的AppleWWDRCA.cer的證書到本地
3.記得要把系統鑰匙串的設置權限打開


注意要打開鎖

4.把AppleWWDRCA.cer安裝到登錄和系統中
設置成功後就可以了。查看下你的發佈證書是否已經正常了
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章