真机调试的时候往往会出现这样一个错误,"This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.",就是说代码签名证书不对劲。
![](https://img.haomeiwen.com/i1290061/0b046e6fb1cf0def.png)
解决方案,
-
选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any iOS SDK 将选项改为:iOS Developer;
-
“command”+“,”退出登录的Apple IDs,然后Clean工程重新登录Apple IDS ,再Build工程;
-
如果还不行,重新配置证书,倒入描述文件,及证书等。
网友评论