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 any App Sandbox
capability that I can turn on:
Why is it missing, and how can I get it there?
To ensure the App Sandbox is in an enabled state, launch your macOS app using Xcode. Then, open /Applications/Utilities/Activity Monitor. app and choose View > Columns > Sandbox to display the Sandbox column. Find your app in the list of running processes and confirm the value in that column is Yes.
Android sandboxThe Android platform isolates apps from each other and protects them -- and the overall system -- from malicious apps and intruders. Android assigns a unique user ID (UID) to each application to create a kernel-level sandbox. This kernel ensures security between apps and the system at the process level.
Sign In to the App Store with Your Sandbox Apple ID In iOS and iPadOS, the sandbox account appears in Settings > App Store after the first time you use the device to attempt a purchase in a development-signed app. There's no need to sign out of the non-Sandbox Apple ID. Sign in using a Sandbox Apple ID.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With