美文网首页iOS编程iOS进阶指南程序员
真机调试,代码签名证书不对(问题2)

真机调试,代码签名证书不对(问题2)

作者: PlusNie | 来源:发表于2016-04-25 12:13 被阅读124次

真机调试的时候往往会出现这样一个错误,"This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.",就是说代码签名证书不对劲。


问题2.png

解决方案,

  • 选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any iOS SDK 将选项改为:iOS Developer;

  • “command”+“,”退出登录的Apple IDs,然后Clean工程重新登录Apple IDS ,再Build工程;

  • 如果还不行,重新配置证书,倒入描述文件,及证书等。

相关文章

网友评论

    本文标题:真机调试,代码签名证书不对(问题2)

    本文链接:https://www.haomeiwen.com/subject/opzfrttx.html