当前位置: 代码迷 >> 综合 >> The identity used to sign the executable is no longer valid.解决方案
  详细解决方案

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

热度:65   发布时间:2024-01-20 21:21:45.0

在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,多试几次,应该就可以运行在手机上了。

  相关解决方案