2

So I'm getting the famous entitlements mismatch error.enter image description here

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.

Community
  • 1
  • 1
Joseph Fakelastname
  • 754
  • 1
  • 4
  • 17

4 Answers4

3

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"

Renan Camaforte
  • 238
  • 1
  • 7
1

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.

Muhammad Raza
  • 902
  • 7
  • 22
0

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.

Eric Aya
  • 68,765
  • 33
  • 165
  • 232
Saranjith
  • 9,547
  • 2
  • 55
  • 102
0

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.

Bright Future
  • 4,961
  • 2
  • 47
  • 67