Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App sandbox not enabled

Tags:

macos

I have my own executable file which is named as "testQueue" and bundled with my main app(testApp) to achieve my requirements. testQueue is a executable file written in C .

I sandboxed this executable using below options and added in the app :

  • Code signing : Mac developer 3rd party application
  • Enabled com.apple.security.app-sandbox = TRUE in testQueue.entitlements
  • Enabled com.apple.security.inherit = TRUE in testQueue.entitlements

Still i received the following error from apple review team.

"App sandbox not enabled - The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list. Refer to the App Sandbox page for more information on sandboxing your app.

testApp.app/Contents/Resources/testQueue"

i would like to know if anything else needs to be added in project settings?

like image 264
santhosh Avatar asked Feb 03 '14 12:02

santhosh


Video Answer


2 Answers

Go to your target -> Capabilities -> put App Sandbox in ON.

enter image description here

like image 145
Borzh Avatar answered Sep 28 '22 15:09

Borzh


If you are using Xamarin check the "Enable App Sandbox" option on your "Entitlements" file enter image description here

Then on the "Mac Signing" options:

  • Choose a custom entitlements file
  • Enable the option "Sign the installer packer"

Before archiving the file for publishing

enter image description here

like image 44
Led Machine Avatar answered Sep 28 '22 14:09

Led Machine