Skip to main content
Known Participant
Nov 27, 2013 6:56 PM UTC
Question

compile time of iOS .ipa

So in theory it should be 10x times faster to compile the .ipa right?

Why is it it takes exactly the same amount of time to compile my app? (around 2 minutes)

I have installed SDK 4.0 in Flash CC, and chose Air 4.0 as the target. Is there anythign else I must do?

This topic is closed to new replies. Start a new post to keep the conversation going.

14 replies

alanfireworks
Known Participant
Jan 24, 2014 11:24 AM UTC

Does anyone know when this will be available as an option inside Flash CC?

By the time I've typed this 'PathToSDK\bin\adt -package -target(ipa-app-store/ipa-debug/ipa-test/ipa-ad-hoc) -useLegacyAOT no -provisioning-profile <path to profile> -keystore <path to certificate.p12> -storepass xxxx -storetype pkcs12 Helloworld.ipa Helloworld-app.xml HelloWorld.swf '

and got the syntax and and paths correct, I might as well wait for the current compilation times.

Thanks,

Translate
MonicaMPAuthor
Known Participant
Jan 24, 2014 4:54 PM UTC

@alanfireworks It seems Flash CC users are left with the command line... or switch to Flash Builder to get a UI of compiling options. I franly don't know what option is worse: get a headache using the command line, or get a headache for switching to a new IDE just for compiling.

Come on Adobe, put a checkbox in the pubblish dialog with "useLegacyAOT no" and make your Flash CC users happy.

Translate
Jeff__Ward
Inspiring
Jan 24, 2014 11:51 PM UTC

Dear Flash Pro users,

You could wait around for an updated GUI...  or, you could make a desktop shortcut that runs the packaging command-line for you in one click.

Windows:

Open notepad, type (fill in the appropriate info):

cd \<PathToSDK>\bin
adt -package -target(ipa-app-store/ipa-debug/ipa-test/ipa-ad-hoc) -useLegacyAOT no -provisioning-profile <path to profile> -keystore <path to certificate.p12> -storepass xxxx -storetype pkcs12 Helloworld.ipa Helloworld-app.xml HelloWorld.swf

Save that file on your desktop as:  package_app.bat

OSX:

Bear with me, I'm less familiar with OSX, but I think it's:

cd /<PathToSDK>/bin
adt -package -target(ipa-app-store/ipa-debug/ipa-test/ipa-ad-hoc) -useLegacyAOT no -provisioning-profile <path to profile> -keystore <path to certificate.p12> -storepass xxxx -storetype pkcs12 Helloworld.ipa Helloworld-app.xml HelloWorld.swf

Save that file in /Users/<username>/Desktop/package_app.sh

Voila and congratulations, you've written a push-button packaging script that shows up on your desktop.  Just barely harder than CTRL-Enter.

Translate
Adobe Employee
Dec 4, 2013 5:33 AM UTC

Hi,

Currently this feature is not available with FlashPro.So for compiling your app using -useLegacyAOT switch please use below mentioned terminal command:

PathToSDK\bin\adt -package -target(ipa-app-store/ipa-debug/ipa-test/ipa-ad-hoc) -useLegacyAOT no -provisioning-profile <path to profile> -keystore <path to certificate.p12> -storepass xxxx -storetype pkcs12 Helloworld.ipa Helloworld-app.xml HelloWorld.swf 

Thanks,

Sakshi

Adobe AIR Team

Translate
User Unknow
Legend
Nov 27, 2013 9:27 PM UTC

You can't get access to command line compiler from Flash CC at this moment. But you can patch adt.jar. During this week I will prepare solution for myself and will post here patched file.

Translate
Colin Holgate
Inspiring
Nov 27, 2013 9:40 PM UTC

Does that still involve decompiling the Java? Perhaps Adobe could set AIR 4.0 to be that way by default, because it’s the biggest selling point of the beta.

Translate
Inspiring
Nov 27, 2013 8:28 PM UTC

Did you add "-useLegacyAOT no" to your packaging command?

Translate