Skip navigation
Currently Being Moderated

.swf converting to .ipa for ipad using adt

Feb 27, 2012 11:32 PM

Tags: #adt

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_prof ile_mACT_23OCT.mobileprovision"

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="">







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










More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points