Skip to main content
Participating Frequently
September 2, 2011
Question

Creating IPA file with Multiple SWF files using ADT

  • September 2, 2011
  • 2 replies
  • 3505 views

Iam successfully able to create ipa files using the ADT package but my next requirement is to create an IPA file with multiple swf files.I think it might be easy if your SWF files are regular the tough part is my swf file has lot of action script in it so the only option is to through the command prompt and using the ADT package of Adobe AIR.So now i have 10 SWF files like this and iam creating ipa file for each swf seperatly but now I want to put all of the swf files into one ipa file.Please let me know if i was not clear in my description

This topic has been closed for replies.

2 replies

relaxatraja
Inspiring
September 5, 2011

Make your AS3 program to load the swfs from your main swf and the external swf should not contain any script, you can attach more files using the space in the ADT command:

C:\AdobeAIRSDK\bin\adt.bat -package -target ipa-test -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf [SWF FILE NAME].swf [SWF FILE NAME].swfIcon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png

Known Participant
February 8, 2017

Hello!

Yes, i know that this post is from 2011.

If you could help me with this, i would appreciate:

I am trying to make my app to locally load some swf's.

For that, and because i can't store them on web, i reached the sollution here mentioned: Compile them into an .ipa.

For doing that, i will execute that ADT command:

C:\AdobeAIRSDK\bin\adt.bat -package -target ipa-test -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf (...).

I have a few questions about it:

-target   - To set the target as "ipa-app-store", do i have to choose the .p12 distribution keyfile and distribution provisioning profile?

[XML FILE NAME]  - That is the file that includes the names of each swf to be compiled or the app xml file (generated with the creation of the app)?

If that file includes the name of compiled swfs, how should it be written?

If i want to load .pdf's with the same way as swf's, can i do it?

Thanks a lot!

Known Participant
February 9, 2017

The compiler can't find your iOS.swf file. Try to add C:/ios/iOS.swf or -C C:/ios at the end of your command.


No, it gives me the same error (both ways)

Is my app-xml rigth?

Inspiring
September 3, 2011

If you want to use loader to load swf files into your main movie it will work however none of the loaded swf actionscript will execute.

The reason this happens is that apple does not allow runtime language interpreters. Everything must be compiled to native code.

There is no reason you cannot use a shockwave class file though (swc).