AppCenter 生成错误 "Provisioning profile does not include signing certificate apple push services"

AppCenter Build error "Provisioning profile does not include signing certificate apple push services"

当我尝试使用 appcenter 为构建 ipa 构建管道时,出现错误:

Provisioning profile "CloodVoteAdhoc" does not include signing certificate "Apple Push Services: com.optiknights.cloodvote"

但是我添加了包含 IPhone 分发证书的配置文件,并且它还具有包含开发和分发苹果推送证书的应用程序 ID。在为 appcenter ios build.

设置管道时,Appcenter 仍然给我错误

如果您遇到过这样的事情,请告诉我。

提前致谢。

解决步骤:

1) 打开Xcode -> Project navigator -> select target -> general.
2) Select 签名下的 "Automatically manage signing"
3) Select 团队。
4) 在 team 下面你可以看到有一个 "Provisional Profile Xcode Managed Profile" 点击图标 i。您看到的是旧的临时配置文件。
5) 只需拖放到终端并添加评论 "rm".
6) 旧的临时配置文件被自动删除,新的临时配置文件由 Xcode.
创建 7) 清理并进行构建。