iOS真机调试中出现identity(The identity 'iPhone Developer)证书不匹配的问题

来源:互联网 发布:ubuntu terminal 编辑:程序博客网 时间:2024/04/30 15:03

The identity 'iPhone Developer: XXXXXXXXX (***************)' doesn't match any valid, non-expired certificate/private key pair in your keychains

出现这种状况是因为该项目已经有其他开发证书进行了真机调试,而这个证书不是你的

解决方法:进入Build Settings中》Code Signing下Code Signing Identity中Debug和Release的Any iOS SDK中的选项改为自己的证书即可

然后运行程序会提示error: could not read CFBundleIdentifier from Info.plist (null)


这是同样是由于该项目已经用其他人的开发这证书进行过真机测试而引起的,解决方案:

新建一个同名工程,拷贝其plist文件,将原工程中的plist文件替换掉即可。

原创粉丝点击