iOS packaging problem

I am trying to package an iOS mobile app using Flex SDK 4.5.1 patched with the AIR 2.7 SDK and get an exception (see attachment). The adt command is not logged in the IDEA console window and I could not find anything in the IDEA log files. I would like to take the IDEA assembled command line and play with it to get it to work. I am pretty sure that the dialog parameters in the export dialog are correct.

Did anybody successfully use the latest version of the packager?

Thanks and regards,
Peter



Attachment(s):
iOS-package.png
iOS-package-1.png
4 comments
Comment actions Permalink

More confusion: if I revert to an unpatched Flex SDK 4.5.1.21328, I get another error:

SDK is missing GPL component /Users/Shared/FlexSDKs/4.5.1.21328/lib/aot/bin/as/arm-apple-darwin9-as

This stuff seems to be provided when I patch Flex SDK 4.5.1.21328 with the AIR 2.7 SDK.
So obviously the latest Flex SDK 4.5.1.21328 never works unpatched. Can somebody confirm?

Thanks and regards,
Peter

0
Comment actions Permalink

Indeed, Flex SDK 4.5.1.21328 by default includes AIR SDK 2.6. But by some reason Adobe has forgot to include some files (lib/aot/bin/as/arm-apple-darwin9-as and others). If you download AIR SDK 2.6 separately and unpack it on top of SDK 4.5.1.21328 you'll have all required files and will be able to package iOS application (note, it can take 5-10 munites to package. Next IDEA version will support fast packaging in interpreter mode).

I do not have problems with packaging after unpacking AIR SDK 2.7 on top of Flex SDK 4.5.1.21328. Do you use Flex SDK from Flash Builder installation or have downloaded it separately? (I use downloaded). Try attached project, it works for me.



Attachment(s):
SimpleMobileApp.zip
0
Comment actions Permalink

Hi Alexander.

I am using a separately downloaded Flex SDK 4.5.1.21328 and unpacked AIR SDK 2.7 on top of it - so all required files (like lib/aot/bin/as/arm-apple-darwin9-as and others) are available to the build. Unfortunately my project still does not build with the metioned error.

Is there a chance to get at the adt command line that IDEA builds from the export dialog? I could not find it in the logs. It would be helpful to have the original stacktrace in the console and play with the build parameters.

Thanks and regards,
Peter

0
Comment actions Permalink

I'm afraid there's no logging in this place. Does my project work in your environment? I believe your command line is similar to mine:

C:\java\jdk1.6.0_21\jre\bin\java.exe -Dapplication.home=C:\flex\flex_sdk_4.5.1.21328_AIR_2.7 -Xmx384m -Dsun.io.useCanonCaches=false -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -jar C:\flex\flex_sdk_4.5.1.21328_AIR_2.7\lib\adt.jar -package -target ipa-test -storetype PKCS12 -keystore D:\work\flex\flex_projects\iOS\iphone_dev_doroshko.p12 -storepass your_password -provisioning-profile D:\work\flex\flex_projects\iOS\Air.mobileprovision D:\work\flex\flex_projects\SimpleMobileApp\out\production\SimpleMobileApp\SimpleMobileApp.ipa D:\work\flex\flex_projects\SimpleMobileApp\src\air-app.xml -C D:\work\flex\flex_projects\SimpleMobileApp\out\production\SimpleMobileApp SimpleMobileApp.swf -C D:\work\flex\flex_projects\SimpleMobileApp configuration.properties -C...

0

Please sign in to leave a comment.