Apple has decreed that all applications submitted to the Mac App Store must be sandboxed, starting in November.
Ok, but how can I "sandbox" my app?
I found the official Apple's guide Code Signing And Application Sandboxing Guide.
This document lists the following steps:
1) "Enable sandboxing for your application." Ok, easy: I have to open Xcode 4, select the project, select the target, go to the Summary tab and check:
2) Then: "Once you have created a basic entitlements profile, you should sign your application". In short, the guide says to run the command "codesign" on the .app.
But on which .app?
I have to do this every time I compile?
Xcode does not do that in automatic?
If you turn on sandboxing for your app, Xcode will automatically sign the built product using the codesign
tool.
You'd only need to run the codesign
tool manually if you wanted to customise the code signing behaviour.
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