【问题标题】:xcode build to iPhone device it has an invalid code signaturexcode 构建到 iPhone 设备它具有无效的代码签名
【发布时间】:2021-09-22 03:42:02
【问题描述】:

我想在我的 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 iOS 15

【问题讨论】:

标签: ios xcode


【解决方案1】:

这解决了我的问题。

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

查看截图:

【讨论】:

    【解决方案2】:

    有两种解决方案:

    • 解决方案1:打开系统偏好设置->用户和组->添加用户帐户(使用新用户构建成功

    • 解决方案 2:打开 Keychain Access -> 选择 System,All Items -> 删除证书 Apple Worldwide Developer Relations Certification Authority

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-10-03
      • 1970-01-01
      • 2018-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-05
      相关资源
      最近更新 更多