Automatic signing is unable to resolve an issue with the "Trade Off.app" target's entitlements. Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website.

I get the following errors when uploading my archive to the App Store to do another round of TestFlight tests:


Automatic signing is unable to resolve an issue with the "Trade Off.app" target's entitlements.

Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website. Atlernatively, to continue using automatic signing, remove these entitlements from your entitlements file and their associated functionality from your code. Then rebuild your archive and try again.


Provisioning profile failed qualification

Profile doesn't match the entitlements file's value for the application-identifier entitlement.


I have previously uploaded a build and sent it out to my testers with no issues.


The only difference between the new build and the previous build are:

1) I upgraded to Xcode 9.2

2) I added Admob banner ads


I tried again with Xcode 9.1 but still get the same error.

I removed Admob and still get the same error.

I have tried turning "Automatically manage signing" off an on in the hope Xcode will update my profiles, App IDs and certificate, but still get the error.

I have tried to finding an entitlement file but have no idea where to look or what it's called.


Is there a way to force Xcode to update my profiles, etc?

Any suggestions on how to fix?


Thanks,

John

I fixed the issue thanks to a friend's help.

So for anyone with the same problem, here is the solution:


1) Remove the existing provisioning profile for the app

2) Go to Certificates, Identifiers & Profiles section of developer site

3) Create 2 new provisioning profiles

a) iOS App Development (under Development)

b) App Store (under Distribution)

4) Download these two and manage manually in Xcode and import them

After this you should be able to upload without any errors.

John

https://stackoverflow.com/questions/46148523/profile-doesnt-match-the-entitlements-files-value-for-the-application-identifi/50691923


Enabling and disabling anything in your app's capabilities fixed this for me. Look at post above.

Automatic signing is unable to resolve an issue with the "Trade Off.app" target's entitlements. Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website.
 
 
Q