Mac OSX App: AIR framework executables not includes "com.apple.security.app-sandbox"
Hi.
We were recently trying to package our application with latest AIR SDK 22.0 and submit to iTunesConnect. We already has a version of the app in App Store which packaged with AIR SDK 16.0. Since 22.0 we came by following errors while uploading through Application Loader followed by no-upload at all.
1 package(s) were not uploaded because they had problems:
/var/folders/1b/8qtyjnc154jfq_5bysrxcht40000gv/T/55EA97A7-5A0A-4540-A715-C0B46D63044F/1099109346.itmsp - Error Messages:
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.moonshine-ide.pkg/Payload/Moonshine.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR_64 Helper", "com.moonshine-ide.pkg/Payload/Moonshine.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/ExtendedAppEntryTemplate64" )] Refer to App Sandbox page at https://developer.apple.com/devcenter/mac/app-sandbox/ for more information on sandboxing your app."
We are signing requisite assets to our PKG file in a fashioned manner prior to upload. These includes following signing (so we at least clear that the above error not causing by any non-signing assets at our side):
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Resources/Flash\ Player.plugin/Contents/MacOS/FlashPlayer-10.6
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Adobe\ AIR_64\ Helper
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Adobe\ AIR_64
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Adobe\ AIR
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Resources/Adobe\ AIR.vch
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0/Resources/ExtendedAppEntryTemplate64
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework/Versions/1.0
- ${desktopBinaryFilename}/Contents/Frameworks/Adobe\ AIR.framework
While working on this error I came by one of the forum link here: Air Apps for OSX: Terminal Script is not working anymore -> code object is not signed at all
The above thread discussed about some of the things which are relevant to ours' error, too. In last reply from @dasessig where Apple told him exactly against the executable those thrown us errors:
...some of the issues you're seeing are because Adobe hasn't followed the rules in Nested Code. You should be working with Adobe on those issues at this point or at least bringing them to their attention.
The entitlements issues arise because Adobe AIR_64 Helper and ExtendedAppEntryTemplate64 are apparently executables, so they need to be sandboxed as well. Since sandboxing can affect code's behavior, you really need to talk to Adobe about this. We can't say whether just adding the entitlements will cause your app to break, nor can we offer support if it does.
This also applies to the Russian localization issue. OS X handles Russian just fine, but it sounds like something in the app didn't include a Russian localization. That goes back to how one would specify localizations in Flash.
I'm not clear if that was a suggestion to him by Apple but in our case it's simply an error and for which we are not able to upload our build to App Store for review.
Is there any workaround for the problem we're having, or Adobe already aware of this and working on a fix?
Please, suggest.
Regards.
