App Sandbox capability missing in Xcode project

前端 未结 2 378
萌比男神i
萌比男神i 2021-01-19 04:45

According to this guide, there should be an App Sandbox capability in the project file:

However, for some reason my app project does not have a

相关标签:
2条回答
  • 2021-01-19 05:14

    If your Apple provisioning profile is missing the App Sandbox entitlement then it won't show up in xcode.

    FYI - you can add manually to entitlement file, however it wont let you build unless described in your provisioning profile. Same goes for ditribution as well.

    To Add entitlement > Open *.entitlements file as source code > add the following code.

    <key>App Sandbox</key> <true/>

    You can regenerate the provisioning profile with the desired capabilities, if you are the admin/team agent of the Apple store project.

    hope this helps.

    0 讨论(0)
  • 2021-01-19 05:15

    First of all, you should open the ***.entitlements file. In this file, add a Key named App Sandbox and changed Value to YES.

    After completing the above steps, click command + b then go back to Signing & Capabilities, the App Sandbox will appear.

    0 讨论(0)
提交回复
热议问题