Application Loader error

Hi!

When I try upload my Mac-app via Application Loader I get an error

ERROR ITMS-90296: “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: [( “com.app.pkg/Payload/AppName.app/Contents/MacOS/AppName” )] Refer to App Sandbox page at https://developer.apple.com/devcenter/mac/app-sandbox/ for more information on sandboxing your app.”

Please help me :slight_smile:

That’s a known issue which we’re working on.  If you are comfortable with the details of codesigning you can figure out the entitlements required and apply them after the app has been built (there’s some info on this in other threads in this forum).

Or wait a week or so and the Simulator will generate the correctly signed packages for you.

Hi pavit,

• Create a file named entitlements.plist in your corona directory with

 \<?xml version="1.0" encoding="UTF-8"?\> \<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"\> \<plist version="1.0"\> \<dict\> \<key\>com.apple.security.app-sandbox\</key\> \<true/\> \</dict\> \</plist\>

• Build your app with corona

• Open Terminal and execute these commands :

cd /yourcoronadirectory

codesign --entitlements entitlements.plist -v -f -s “3rd Party Mac Developer Application: xxx xxx (XXXXXXXXXX)” yourappname.app

productbuild --component yourappname.app /Applications --sign “3rd Party Mac Developer Installer: xxx xxx (XXXXXXXXXX)” yourappname.pkg

You can now use Application Loader :slight_smile:

Hi Gispubc

Super! It’s works!

Thanks!

That’s a known issue which we’re working on.  If you are comfortable with the details of codesigning you can figure out the entitlements required and apply them after the app has been built (there’s some info on this in other threads in this forum).

Or wait a week or so and the Simulator will generate the correctly signed packages for you.

Hi pavit,

• Create a file named entitlements.plist in your corona directory with

 \<?xml version="1.0" encoding="UTF-8"?\> \<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"\> \<plist version="1.0"\> \<dict\> \<key\>com.apple.security.app-sandbox\</key\> \<true/\> \</dict\> \</plist\>

• Build your app with corona

• Open Terminal and execute these commands :

cd /yourcoronadirectory

codesign --entitlements entitlements.plist -v -f -s “3rd Party Mac Developer Application: xxx xxx (XXXXXXXXXX)” yourappname.app

productbuild --component yourappname.app /Applications --sign “3rd Party Mac Developer Installer: xxx xxx (XXXXXXXXXX)” yourappname.pkg

You can now use Application Loader :slight_smile:

Hi Gispubc

Super! It’s works!

Thanks!