美文网首页
真机调试报The executable was signed w

真机调试报The executable was signed w

作者: i个O人S发 | 来源:发表于2020-01-21 16:01 被阅读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 w

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