從2月14號(hào)開始国拇,上傳AppStore時(shí)可能會(huì)碰到這個(gè)問題:
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的過期時(shí)間是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 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.
簡單的說就是頒發(fā)開發(fā)者證書的根證書過期了昙篙。如果這個(gè)時(shí)候你打開keychain看你的發(fā)布證書會(huì)是這樣的:
就是這個(gè)Apple World Wide Developer Relations Certificate Authority過期了腊状,所以這個(gè)頒發(fā)的證書都不能使用了。
現(xiàn)在來說下解決方案:
1.打開keychain(鑰匙串)苔可,在登錄和系統(tǒng)中找到過期的 Apple World Wide Developer Relation Certification Authority缴挖,然后刪除它
注意在keychain顯示菜單下,設(shè)置成顯示過期證書
2.下載這個(gè)鏈接里的AppleWWDRCA.cer的證書到本地
3.記得要把系統(tǒng)鑰匙串的設(shè)置權(quán)限打開
4.把AppleWWDRCA.cer安裝到登錄和系統(tǒng)中
設(shè)置成功后就可以了焚辅。查看下你的發(fā)布證書是否已經(jīng)正常了映屋。
歡迎關(guān)注我的微博:@沒故事的卓同學(xué)
相關(guān)鏈接:
http://stackoverflow.com/questions/32821189/xcode-7-error-missing-ios-distribution-signing-identity-for