Quantcast
Viewing all articles
Browse latest Browse all 21156

.swf converting to .ipa for ipad using 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_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">

 

          <id>com.hcl.mact</id>

          <filename>TestSWF</filename>

          <name>TestSWF</name>

          <versionNumber>0.0.0</versionNumber>

          <initialWindow>

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

                    <autoOrients>false</autoOrients>

        <fullScreen>false</fullScreen>

        <visible>false</visible>

    </initialWindow>

</application>

 

Thanks,

MAdhu


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>