Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Sandboxing

I have another question dealing with app sandboxing. So I need access to the users' home directory and at the same time the app should be able to shut down the Mac. This requires to not using sandboxing.

My problem is that I don't know how to remove sandboxing and being able to submit the app to the Mac App Store. I think that the archives are sandboxed because I had turned it on once..

How to remove sandboxing from the archives properly?

Thanks for your help!

like image 688
user610246 Avatar asked Aug 10 '11 21:08

user610246


People also ask

How do you get rid of sandboxing?

On Android, open the Google Chrome menu, then tap on Settings > Privacy and security > Privacy Sandbox.

How do I get rid of Google sandbox?

Step 1: Open Google Chrome web browser on your computer. Step 2: Now, click on the Menu icon in the top-right and select the “Settings” option. Step 3: In Settings, select the “Privacy & Security” option from the left-hand side menu. Step 4: Now, click on the “Privacy Sandbox” and change the toggle button ON or OFF.

How do I stop my sandbox from running?

"Program Stop" Settings GroupSandboxie Control > Sandbox Settings > Program Stop: Settings in this section control when Sandboxie automatically ends programs that run in the sandbox.


3 Answers

On Xcode 11, you can turn off Sandboxing by removing it from the Signing & Capabilities tab:

enter image description here

like image 178
Eric Avatar answered Oct 08 '22 21:10

Eric


If I understand what you are asking correctly, you'll need to remove the entitlements.plist from your project and make sure that the Summary view of your target in Xcode has sandboxing turned off:

No sandboxing or entitlements

like image 25
sbooth Avatar answered Oct 08 '22 22:10

sbooth


As Derek Wade pointed out, you can make an App like GarageBand X (which behaves obnoxiously with third party plugins like Amplitube due to Sandboxing) NOT run in a sandbox by editing the binary itself with a HEX editor like HexFiend. Look for:

<key>com.apple.security.app-sandbox</key>

Immediately following that bit you'll see the true tag, which as suggested I switched to 'fals' (no extra bytes) and now GarageBand will happily interact with third party VST plugins. Huzzah.

like image 6
spud Avatar answered Oct 08 '22 22:10

spud