供应配置文件 "Developer profile" 不包括签名证书 "iPhone Distribution" : 人名(密钥编号)

Provisioning profile "Developer profile" doesn't include signing certificate "iPhone Distribution" : person's name(key number)

我正在尝试上传由我的团队创建的应用程序,但出现此错误:

Provisioning profile "Developer profile" doesn't include signing certificate "iPhone Distribution" : person's name(key number)

我多次尝试创建和下载新证书,但都显示相同的错误。

如果证书是分发类的,不是开发类的,导致无法上传试飞,有什么问题吗?

您可以验证以下内容来解决您的问题:

  1. 验证此证书实际上是“iOS 分发”证书(https://developer.apple.com/support/certificates/)

  2. 仔细检查证书的 bundle id,并将其与您在 xCode 上的应用进行比较。他们应该是一样的。另请注意此证书注册到的团队。

  3. 转到 xCode -> 首选项 -> 帐户 -> Select 您的帐户 -> Select 正确的团队。然后单击“管理证书”并确保分发证书列在那里。

  4. 还要确保步骤 3. 证书没有出现“私钥丢失”或其他错误。

  5. 转到 xCode 中的构建设置 -> 常规(新 xCode 中的签名配置)并确认选择了正确的团队(您在 2 中记下的那个)