從2月14號開始,上傳AppStore時可能會碰到這個問題:ios
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.xcode
截圖以下:
app
緣由是Apple World Wide Developer Relations Certificate Authority的過時時間是2016年2月14。蘋果的回答以下:ide
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.this
簡單的說就是頒發開發者證書的根證書過時了。若是這個時候你打開keychain看你的發佈證書會是這樣的:3d
就是這個Apple World Wide Developer Relations Certificate Authority過時了,因此這個頒發的證書都不能使用了。code
如今來講下解決方案:
1.打開keychain(鑰匙串),在登陸和系統中找到過時的 Apple World Wide Developer Relation Certification Authority,而後刪除它
注意在keychain顯示菜單下,設置成顯示過時證書blog
2.下載這個連接裏的AppleWWDRCA.cer的證書到本地
3.記得要把系統鑰匙串的設置權限打開
ci
4.把AppleWWDRCA.cer安裝到登陸和系統中
設置成功後就能夠了。查看下你的發佈證書是否已經正常了。unicode
歡迎關注個人微博:@沒故事的卓同窗