Reputation: 895
So I'm getting the famous entitlements mismatch error.
It would seem that "The entitlements specified in my application's Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile."
What I want to know is how do I view the entitlements in my provisioning profile, and how do I view the entitlements in my Entitlements file so that I can compare them?
Out of the many answers to this question on stack overflow, none of them explain how to compare the Entitlements file to the provisioning profile.
Upvotes: 2
Views: 1704
Reputation: 5751
I renamed my project, and the folder of the project files got changed too, so I changed the entitlement file path in info.plist
and then it works.
Upvotes: 0
Reputation: 11577
Create all provisions along with app groups or any extension support in developer account.
Then come to Xcode and tick automatic signing for all targets, it works for me now.
Upvotes: 0
Reputation: 268
You can open your .mobileprovision and .entitlements file by using TextMate. By doing so, you can compare both files and figure out what's different between them.
You can find your provisioning profiles in this path: /Users/_your_user/Library/MobileDevice/Provisioning Profiles
Or via Xcode, through these steps:
1) opens Xcode, 2) Preferences (command + , ) , 3) accounts , 4) select your account , 5) select your team, 6) view details. A new window will open containing all provisioning profile installed, right click on the one you've been looking for and then "show in finder"
Upvotes: 3
Reputation: 970
What helped me was:
I unchecked "Automatically manage signing" and then check it on again. After that Xcode told me it would reset the settings to the default and after that it finally worked.
Upvotes: 1