iOS 登录应用程序无法在 appcenter 上运行

iOS Sign-in application does not work on appcenter

我有一个 react-native 应用程序,其中使用 appcenter 自动构建。在我更新到 react-native 0.62.2 之前它一直在工作(我之前使用的是 0.61.2)。

我有这个错误:
Code Signing Error: "gamefare-dev" requires a provisioning profile with the Associated Domains and Push Notifications features. Select a provisioning profile in the Signing & Capabilities editor. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 13.4'

我检查了我的证书并重做了 .p12.mobileprovision 文件的所有上传和生成,但仍然是同样的错误。

这是我在苹果开发者门户中的关联证书的屏幕截图:

关于我如何解决该问题的任何线索?使用 xcode 在本地工作构建和运输。

xcode 中的自动登录似乎会搞砸。

我解决问题的方法是手动登录(在 Xcode 中取消自动登录)并直接选择正确的 .mobileprovision 并将证书加载到我的 mac.

这将更改您的 .xcodeproj 文件中的一些内容。将它们发布到您的 git 存储库。

通过尝试从您的 mac 发布到 appstore/testflight 进行验证。工作时,在 Appcenter 中上传完全相同的文件 .mobileprovision 和 mac 钥匙串 (.p12)

中的证书

重新启动构建,它现在应该可以工作了。