【iOS】更换证书遇到的问题

今天给一个项目换证书的时候遇到了这个问题:

Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“aaa”) has an AppID of “com.bbb” which does not match your bundle identifier “com.ccc”.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.4'

如图所示:

 

后来发现是因为 Tests 文件的 Bundle Loader 出了问题(两天后凭记忆写的,应该是这个【可能不对,应该是 Tests 中的证书没修改,记不清了。。】),如图所示:

删除 后解决了!

posted @ 2015-11-01 16:59  WriteOnRead  阅读(409)  评论(0编辑  收藏  举报