Amazon Mobile Ads ANE

As I’m going to release free versions of Solitaire and Mahjong games on Amazon AppStore, I’ve decided to use Amazon Mobile Ads (+ AdMob of course, Amazon Mobile Ads only work in USA, I guess).
And, as these games are made with Adobe Air, I had made another ANE…
Here it is: Amazon Mobile Ads ANE, available on Github along with source code.

Publish Adobe Air app to Mac App Store

I have mainly used this guide, it is in Russian and written for Air3.6, also it was updated with my comment about Air3.8.
There is very similar guide in english, but also for Air3.6:

The differences for Air3.8 (maybe for Air3.9 as well) are:
– Following three line are not required anymore:

codesign -f -v -s APPLICATION_CERTIFICATE\ AIR.framework/Versions/1.0/Resources/adobecp.plugin
codesign -f -v -s --entitlements entitlements.plist

– Instead you need to use this:

codesign -f -v -s APPLICATION_CERTIFICATE --entitlements entitlements.plist

Some extra things, that might be useful:
– If your app connects to the internet, you need to add the following lines to your entitlements.plist:


All the possible sandbox keys could be found here:

– You can verify, that your app is correctly signed like this:

codesign -v --verify

– Take note, that icons file’s name, generated by Air is “Icon.icns” and not “icons.incs”, so you may end up having two files, just mention correct one in your Info.plist.

– Launch your app and check that name in top menu matches the title of the app. In my case they were different, thus game was rejected. See screenshot.

DISCLAIMER: The content in this blog represents the opinion of the author. No information here should be used for any purpose except for entertainment.