首页 > 其他 > 详细

真机调试报The executable was signed with invalid entitlements.错误

时间:2016-03-21 18:03:46      阅读:3208      评论:0      收藏:0      [点我收藏+]

真机运行时,提示The executable was signed with invalid entitlements.(The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile.)错误

解决方案:

1.在工程中添加文件new file,选择plist文件,添加后名称为Entitlements.plist。

2.点击Entitlements.plist进行编辑,删除所有Root下的Key,然后添加一个Boolean类型,名称为get-task-allow的Key,Value为YES。

3.在Targets中的Build Setting选项卡中的Code Signing Entitlements的值设为Entitlements.plist,重新Build即可解决。

真机调试报The executable was signed with invalid entitlements.错误

原文:http://www.cnblogs.com/xuhuizhan520/p/5302860.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!