1. 程式人生 > >iOS 8.3 No code signing identities found

iOS 8.3 No code signing identities found

"Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“XXXXXXXXXXXXXX”) were found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.3'"

其中:

My fix for this problem was:

Xcode > Preferences. In Accounts click on your Apple ID. Click View Details, click on your projects Provisioning Profile (I think this helps) and click the refresh button bottom left.


因為新版xcode可以自動生成相關證書,避免開發人員到網站自己打證書,所以,今後只要證書方面有問題,可以先到設定中去refresh一下,然後選擇相關的證書即可!

重點注意:

工程、target裡的工程,target裡的tests,這3個的code signing都必須設定一樣,或者乾脆描述檔案選automatic,證書選iOS develop/iphone develop(XXXX你的證書),

記住,tests裡的code signing不要選擇don`t code sign,否則報錯team id 有問題!!!