The identity used to sign the executable is no longer valid.解决方案

来源:互联网 发布:如何mac上使用移动硬盘 编辑:程序博客网 时间:2024/06/05 13:30

在Xcode进行真机调试,有时候会弹出“The identity used to sign the executable is no longer valid.”,这个问题通常是provisioning profile引起的。

解决方案:

1.登录苹果开发者中心。

2.重新下载一份对应的pp(provisioning profile)文件。

3.双击打开,在Xcode的build settings--code signing--provisioning profile选择刚刚下载的pp文件。

4.点击工程图标,在General--fix issue,选择对应的Team,多试几次,应该就可以运行在手机上了。

0 0
原创粉丝点击