xcode构建到iPhone设备,它具有无效的代码签名

bvhaajcl  于 2023-02-13  发布在  其他
关注(0)|答案(3)|浏览(178)

我想在我的iPhone中构建我的项目,我收到了这个错误消息

The operation couldn’t be completed. 
Unable to launch com.xxxx.test because it has an invalid code signature, 
inadequate entitlements or its profile has not been explicitly trusted by the user.

我试着去settings> general> VPN and device management,但里面什么都没有,我只能用工作或学校帐户登录,没有别的。我的应用程序没有出现在VPN和设备管理部分,因此我无法授权任何东西。我该如何修复它?谢谢。
Xcode 13.0 iPhone X操作系统15

qni6mghb

qni6mghb1#

这解决了我的案子。

iPhone Settings -> General -> VPN and device management -> From "Developer App" section found "Apple Development: APPLE_ID" -> Trust

查看截图:
第一节第一节第一节第一节第一次

xt0899hw

xt0899hw2#

有两种解决方案:

  • 解决方案一:打开系统偏好设置-〉用户组-〉添加用户帐号(新建用户成功
  • 解决方案2:打开钥匙串访问-〉选择系统,所有项目-〉删除证书Apple全球开发者关系认证机构
ktecyv1j

ktecyv1j3#

请检查您的设备上是否有互联网连接。我的连接关闭了-这就是为什么苹果无法检查我的开发者的个人资料。

相关问题