Search code examples
macoscocoamac-app-storeappstore-sandbox

how can I run a sandboxed OS X app without sandboxing?


I have an app which runs using sandboxing. How can I run it without sandboxing? Suppose I can't just recompile the app with sandboxing off.


Solution

  • This works:

    $ ditto MySandboxedApp.app MySandboxedApp.backup.app
    $ codesign -f -s- MySandboxedApp.app
    

    Note the extra minus in "-s-".