Air SDK 3.4 and MinimumOSVersion
Hi, I am getting an error when trying to publish using the just released SDK:
Failed to package AIR application MyApp.ipa:
ld: warning: -ios_version_min not specificed, assuming 4.0
My XML file looks like this:
<InfoAdditions><![CDATA[
<key>MinimumOSVersion</key>
<string>5.1</string>
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbBlah</string>
</array>
</dict>
</array>
]]></InfoAdditions>
And I am using the correct Air SDK:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/3.4">
Any ideas on this?
Please sign in to leave a comment.
Another clue, is that it seems to be doing this no matter what SDK version I use. So something in the new SDK broke IDEA? Or something on my end?
If I back out to version 3.2 the error goes away, so this seems to be something involved with 3.3 and up.
There's no magic in what IntelliJ IDEA does when packaging AIR application. It just calls ADT tool from AIR SDK with appropriate parameters. If anything fails you have an option to see the actual adt command line and to check if it is correct (this functionality is available since IntelliJ IDEA 11.1.3).
I don't know what is the cause of the error you get. Quick googling shows that it may be related to ANE that you use, -ios_version_min option is used when packaging ANE for iOS. May be I'll be able to evaluate the issue if I have a sample project to reproduce it.
Byt he way please make sure that custom AIR descriptor template is selected at iOS tab of the Flash build configuration (Project Structure dialog).