Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entitlements Do Not Match: Provisioning Profile Issue

Tags:

Using Xcode, I'm trying to upload my archive to the App Store and I'm getting:

ERROR ITMS-90163: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile 'aps-environment' in 'Payload/App Name.app/App Name'."

Then below is gives additional detail, identifying:

The bundle contains a key that is not included in the provisioning profile: 'com.apple.security.application-groups' in Payload/App Name.app/App Name'."

With this version I have added a 'today notification widget', iMessage stickers, and 3D Touch support. I think the notification data sharing (app-group) has something to do with my problem. Does anyone know how to solve it?

like image 693
Dave G Avatar asked Oct 31 '16 00:10

Dave G


People also ask

What is entitlement file in iOS?

Entitlements are special app capabilities and security permissions granted to applications that are correctly configured to use them. In iOS, apps run in a sandbox, which provides a set of rules that limit access between the application and certain system resources or user data.


1 Answers

I was able to solve this by resetting the code signing (uncheck it, wait 10 seconds, check it again):

enter image description here

like image 184
Dave G Avatar answered Sep 23 '22 16:09

Dave G