1 Reply Latest reply: Dec 10, 2012 4:55 PM by roymeo_ RSS

    .swf converting to .ipa for ipad using adt

    madhu_51 Community Member

      Hi Respected,


      My goal is converting .swf file for mobile version .ipa. (I have .swf file with me which is some third person developed).


      For this i got info from adobe is , adt jar will help to do it. So for trying that utility i created simple desktop application using adobe flash builder 4.5 .Its simle app i have taken out .swf file and .xml file from it and i have provisional files and .p12 file also.


      I have following run.bat to use adt:

      set JAVA="C:\Program Files\Java\jre6\bin\java"

      set ADT="C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\lib\adt.jar"

      set TARGET=ipa-test

      set PROV_FILE="C:\Documents and Settings\swapnil.wadaganve\Desktop\certificate\cert\Distribution_profile_mACT_23OCT.mobil eprovision"

      set CERT_FILE="C:\Documents and Settings\swapnil.wadaganve\Desktop\certificate\cert\Certificates_mACT.p12"

      set PASSWORD=rahul

      set OUTPUT_IPA=TestSWF.ipa

      set APP_DESC_FILE=TestSWF-app.xml

      set SCR_FILES="C:\Documents and Settings\swapnil.wadaganve\Desktop\swf-ipa\TestSWF.swf"

      %JAVA% -jar %ADT% -package -target ipa-test -provisioning-profile %PROV_FILE% -storetype pkcs12 -keystore %CERT_FILE%-storepass %PASSWORD% %OUTPUT_IPA% %APP_DESC_FILE% %SRC_FILES%


      But it is not converting .ipa file it is saying TestSWF-app.xml is not valid airi or air file.

      My .xml file is simple as ,


      <?xml version="1.0" encoding="utf-8" standalone="no"?>

      <application xmlns="http://ns.adobe.com/air/application/2.6">







                          <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>