我有一个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
文件,但还是同样的错误。
Any clue on how I may be able to solve that problem ? 构建和运输使用xcode本地工作。
看来xcode的自动登录会把事情搞得一团糟。
我做了什么来解决这个问题是做手动登录(取消勾选自动登录在Xcode),并直接选择正确的.mobileprovision和加载证书在我的Mac。
这将改变你的.xcodeproj文件中的一些东西。将它们发布到你的git repo中。
通过尝试从你的Mac发布到appstoretestflight来验证。当工作时,上传完全相同的文件.mobileprovision在Appcenter和证书从你的Mac钥匙链(.p12)。
重新启动构建,现在应该可以了。