问题
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?
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.
回答1:
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:
来源:https://stackoverflow.com/questions/41867538/provisioning-profile-doesnt-include-the-com-apple-security-application-groups-e