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

邮差的信 提交于 2019-12-05 18:37:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!