Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Provisioning profile doesn't include the com.apple.security.application-groups entitlement

I am getting error while configuring Xcode provisioning profiles.

Provisioning profile $ProfileName doesn't include the com.apple.security.application-groups entitlement.

How to fix it. It seems my provisioning profile/certificate does not have some capabilities. How/where to add those capabilities?

enter image description here

update

In marked duplicated post, Sharing data in between apps in IOS the poster asked for generic way to share data between apps but in this post i am asking to resolve a specific build error i am getting while sharing data in between groups.

like image 263
Sazzad Hissain Khan Avatar asked Jan 26 '17 05:01

Sazzad Hissain Khan


People also ask

What is iOS app provisioning profile?

The profiles resource represents the provisioning profiles that allow you to install apps on your iOS devices or Mac. You can create and delete provisioning profiles, and download them to sign your code. Provisioning profiles include signing certificates, device identifiers, and a bundle ID.

How do I enable group apps?

In the Configuration Manager console, go to the Software Library workspace. Expand Application Management and select the Application Group node. In the Create group in the ribbon, select Create Application Group. On the General Information page, specify information about the app group.

How do I fix failed to create a provisioning profile?

3. How To Fix Xcode Failed To Create Provisioning Profile Error. To fix this error is very easy, just connect your real iOS device such as iPhone to the Mac computer with a USB line, follow the popup screen on the iPhone, then you can select your iOS device in the Set the active scheme drop down list.


1 Answers

First you have to set the app group up in the Apple Developer Center for your App ID:

Afterwards in Xcode:

  • Select your target
  • Enable "App Groups" in the "Capabilities" tab
  • Tick the checkmark for the App Groups you want to use:

like image 181
shallowThought Avatar answered Sep 21 '22 13:09

shallowThought