Skip to main content
Participant
April 5, 2011
Question

convert swf to .ipa : compilation failure

  • April 5, 2011
  • 1 reply
  • 4190 views

Hi,

I'm trying to build a really simple mobile flex project but i'm stuck at the ADT compilation.

Here is what I did :

- got flash builder burrito

- download air 2.6 and merge this sdk with the sdk 4.5.0 in the flash builder folder.

- made a simple test project. (just a label in the middle)

- got the certificates to p12 and the mobileprovisioning

- run the mxml with flash builder, also tried to compile it with the mxmlc.exe manually with both delivered a .swf file

- run the adt command :

     [echo] -package -target ipa-debug -storetype pkcs12 -keystore C:/temp/TestMobile/certificates/cert.p12 -storepass [pass] -provisioning

-profile C:/temp/TestMobile/certificates/flexTest.mobileprovision C:/temp/TestMobile/release/testMobile.ipa C:/temp/TestMobile/src/TestMobil

e-app.xml -C C:/temp/TestMobile/bin-release TestMobile.swf

     [exec] Compilation failed...

     [exec] Result: 12

As you can see the result of the compilation is 'Compilation failed'.

Anyone knows what else I can do to get this stuff converted to an ipa?

Thanks

Bogguard

This topic has been closed for replies.

1 reply

April 5, 2011

Hi

Can you try once with copying app-xml into the swf folder. And then cd to

folder containing app-xml and swf.

Then your command will be something like

-package -target ipa-debug -storetype pkcs12 -keystore

C:/temp/TestMobile/certificates/cert.p12 -storepass -provisioning

-profile C:/temp/TestMobile/certificates/flexTest.mobileprovision

C:/temp/TestMobile/release/testMobile.ipa TestMobile-app.xml TestMobile.swf

BogguardAuthor
Participant
April 5, 2011

unfortunately the same 'Compilation failed' error.

April 5, 2011

Is Compilation failed output from adt? Or you are running this command from

somewhere(some program or script)? Can you give me the exact adt output(if

any).

Also, on which platform are you? (Win/Mac)