Skip to main content
May 30, 2011
Question

Flex 4.5 mxml based application not running after iOS packaging on i pad

  • May 30, 2011
  • 3 replies
  • 955 views

I have created one mxml based application on flex 4.5 and make the .ipa file by iOS packaging of adt command.The command  goes as followes

adt -package -target ipa-debug -storetype pkcs12 -keystore  development_key.p12 -provisioning-profile flex_air.mobileprovision  testIphone.ipa testIphone-app.xml testIphone.swf

The .ipa files are generated in the root folder of the C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\bin folder.

But when I am running that file in Ipad it is not working.Cant install that application on Ipad.

Can anybody have any solution for this??

This topic has been closed for replies.

3 replies

relaxatraja
Inspiring
June 1, 2011

The .ipa files are generated, so no problem with the packager, something wrong with your code might be.

June 1, 2011

But code is not wrong ,the same code is also working fine for generating the .apk file for Android.

Flash builder 4.5 giving option for generating .apk file after release build the mxml based application for Android but for iOS flash builder 4.5 giving the option for generating .ipa file for Action script base application not for mxml base application.

As the .apk file is generating normally it's working fine in the android mobiles but, as the .ipa file is generating through command prompt thts why i think some issues are coming though the .ipa file is generating without any problem.

September 25, 2011

Hi Debarghya:

As you mention "Cant install that application on Ipad." I am assuming that you can't get it on your iPad if that is the case. There are two things you should check.

1. Does your mobileprovision has your device added to it, on iTunes portal?

2. Make sure the id tag in testIphone-app.xml matches with your application identifier for which you created this provision and certificate on iTunes portal.

If the problem is that application is installed on your iPad. But when you launch you see black screen forever or application closes automatically to take you to home screen.

1. try with  -target ipa-debug-interpreter instead of -target ipa-debug and see if application starts and post your findings back.

Colin Holgate
Inspiring
May 30, 2011

There can be a one minute delay for debug apps to open. Try making it as ipa-test.

Participating Frequently
May 30, 2011

Could you specify the error that you are getting?