I have a react-native app where build are automatic using appcenter. It was working before i update to react-native 0.62.2 (i was on 0.61.2 before).
I have this error :
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'
I checked my certificate and redo all the upload and generation of .p12
and .mobileprovision
file and still the same error.
Here is a screenshot of my associated certificate in apple developer portal :
Any clue on how i may be able to solve that problem ? Building and shipping using xcode locally work.
It appear that automatic signin in xcode can mess up things.
What i did to solve the problem was to do manual signin (untick automatic signin in Xcode) and choose directly the right .mobileprovision and load the certificate on my mac.
This will change some stuff in your .xcodeproj file. Publish them to your git repo.
Verify by trying to publish to appstore/testflight from your mac. When working, upload the exact same file .mobileprovision in Appcenter and the certificate from your mac keychain (.p12)
Relaunch the build and it should now work.