最近接受其他部門移交過來的項目,打開就報如下提示的錯誤
Showing Recent Messages
No certificate for team ‘XXXX Daily Online Development Co.Ltd' matching 'Apple Development: xxx (112233xx)’ found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning
主要原因是:'Apple Development: xxx (112233xx)’,我們排除步驟如下:
1.0 確定在Targets中signing中選對了開發(fā)者

01.png
2.0 在Targets->Build Settings中全局搜索上面錯誤出現(xiàn)的“112233xx”,每個人的都不一樣這個我不用說了吧,最后在02.png中的4中你會找到和錯誤一樣的字符串,改成Apple Development即可,如圖3。

02.png
!03.png](https://upload-images.jianshu.io/upload_images/1387867-860a88b70763b9d1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)