Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entitlement has value not permitted by a provisioning profile error

After testing my app for the past couple weeks we're finally trying to get the app submitted to the app store. Prior to submitting, I wanted to get my production push notifications set up. I went and installed my provisioning profile for production set it in my code identifiers in the XCode build area and launched the app hoping that the production push notifications would work.

The first problem that I'm running into now, is that no matter what provisioning profile I select in the code identifiers, I end up with these error codes:

 <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'aps-environment' has value not   permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'aps-environment' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile 

I've been trying to figure out the problem for hours and have found no solutions. I was hoping someone out there could help narrow down a solution

like image 403
Nick ONeill Avatar asked Aug 30 '11 05:08

Nick ONeill


People also ask

How do I add entitlements to my provisioning profile?

To use this special entitlement you must create a new provisioning profile in the Certificates, Identifiers & Profiles section of your developer account and select the entitlement after the “Do you need additional entitlements?” page.

What is an Apple provisioning profile?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.

What are code signing entitlements?

During code signing, the entitlements corresponding to the app's enabled Capabilities/Services are transferred to the app's signature from the provisioning profile Xcode chose to sign the app. The provisioning profile is embedded into the app bundle during the build.


2 Answers

Try removing all your provisioning profiles from Xcode (in the organizer) and the provisioning website if necessary, then follow this guide to create new ones.

like image 158
Pontus Granström Avatar answered Oct 03 '22 19:10

Pontus Granström


This just happened to me because I signed something with an App Store certificate rather than an ad-hoc certificate. Choosing the correct certificate and then re-archiving fixed the issue.

like image 38
ghr Avatar answered Oct 03 '22 18:10

ghr