Skip navigation
Currently Being Moderated

Here is a tool to easily package a swf for AIR 2.6!

Mar 31, 2011 8:19 PM

Hi all,

 

I have written a win32 app to compile your swf for iOS using AIR 2.6.

It basically is a replacement for the iPhone settings in CS5.

It means you don't have to use the command line ADT or compile scripts, and it writes the app descriptor XML for you.

 

It is not quite ready yet (it works, but I haven't implemented launch screens yet).

If there is interest from people here I will finish it and make it available for free.

Android support is on the way too.

No Mac version unfortunately.

 

Anyone interested?

 
Replies 1 2 3 Previous Next
  • Currently Being Moderated
    Apr 1, 2011 12:22 AM   in reply to Pea

    im sure you will have people chew your hands off

     

    i would if you made a mac version :-)

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 1, 2011 12:30 AM   in reply to joeboy_uk

    Welcome!!!! Make it available soon!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 1, 2011 3:42 AM   in reply to Pea

    Sounds Great. Please let us know when it is ready!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 1, 2011 5:06 PM   in reply to Pea

    It'd be real useful!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 3, 2011 9:41 AM   in reply to Pea

    Sounds great. I'm assuming that although I'm on a mac, I can just boot it up on my spare PC and package it there.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 9, 2011 7:43 PM   in reply to Pea

    Hi Pea

     

    I'd like to add my vote to this and say I'll be really interested to see what you come up with.  Any update as yet?

     

    Cheers

     

     

     

     

    Peter Robertson

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 10, 2011 11:53 PM   in reply to Pea

    waiting here

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 5:30 AM   in reply to pekingman2011

    I'm waiting, thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 8:39 AM   in reply to Pea

    Until Pea will publish his tool, you can download a similar tool that I have created at my work place.

    (Cheers for them, allowing me to share it with you guys!)

     

    http://rapidshare.com/files/457091918/CreateIPA.zip

     

    inside there's an sfx rar file that extracts its files [bin+templates] to a temporary folder and runs from there, so no install is needed.

    you can open the .exe file using winrar and edit the templates it you want.

     

    Enjoy.

     

    MyAppXml.jpg MyAppBat.jpg

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 11:04 AM   in reply to BarakHarel

    Thanks alot BarakHarel.

     

    I will download this when I am next on my PC, is there any chance of a mac version?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 11:34 AM   in reply to BarakHarel

    I've forgot to mention a small but important thing!

     

    inside the .exe archive there are 2 template files, one for the xml and a second for the bat (batch) file.

    you'll need to edit them so they'll point to the correct paths:

     

    to to so, right click on the CreateIPA.exe [after you've extracted it from the zip file] and select "Open with Winrar" (yes, you should have winrar installed to do so...). you will then see the 3 files that are inside the exe archive.

     

    in template.xml, you should only edit the <copyright> tag.

    in template.bat, you'll need to edit:

     

    1. the path to the AIR sdk\adt [...\AdobeAIRSDK2.6\bin\adt]

    2. the path to the certificate and its password (the values after -keystore and -storepass).

     

    after you've edited them, you can put them back to the exe archive (again, using winrar), or simply place all 3 files in the same folder (the CompileIPA.exe and the 2 templates).

     

    if you guy's will find this to complicated (you shouldn't), I'll upload a more user-edit friendly version tomorrow.

     

    and again, the file structure is:

     

    CreateIPA.zip ->

         CreateIPA.exe ->

              1. CompileIPA.exe

              2. template.xml

              3. template.bat

     

    but you can extract the 3 files to some folder and run them from there.

     

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 3:21 PM   in reply to Pea

    Hi pea,

     

    This looks really good but I think I am missing something. I keep getting the following error when it tries to run the build.bat file.

     

    'adt' is not reconized as a command.

     

    Any ideas of what mistakes I'm making?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 6:51 PM   in reply to Pea

    Cool tool! But in my 64bit system, I have to manually change the command to

    "C:\Program Files (x86)\Java\jre6\bin\java" -jar "I:\Software\Adobe\AdobeAIRSDK2.6\lib\adt.jar" ...

     

    If you can add the support for 64bit system, it would be much prettier.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 7:39 PM   in reply to Pea

    It used 64bit Java virtual machine. Then, in the virtual machine, package the swf file by adt.jar.

    u can find it at the AIR 2.6 SDK folder:

    I:\Software\Adobe\AdobeAIRSDK2.6\lib\

    Of cause, you should install Java Runtime 64bit first in your system.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2011 10:51 PM   in reply to Pea

    I tried it. An error came up while the bat file running(screenshot attached).

     

    After I change

     

     

    The bat file ran correctly.

     

    I'm glad to make friend with you. Here's my MSN:

    Kejiachen@hotmail.com

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 10:33 AM   in reply to Pea

    EDIT:

     

    I did have a problem but then realised I was using the wrong p12.

     

    Now everything works perfectly. Thanks alot Pea. Great Work!!!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 2:42 PM   in reply to Pea

    Hi Pea. Thanks for the tool. I'm running it but no ipa is created, any thoughts?

     

    the log from your tool states the following:

     

    Deploying for iOS
      check AIR SDK path: ok
      check swf path: ok
      check password specified: ok
      creating output folder (XXX)
        copy XXXXXXXXX.swf
        copy icons/icon29x29.png
        copy icons/icon48x48.png
        copy icons/icon57x57.png
        copy icons/icon72x72.png
        copy icons/icon512x512.png
        copy Default-Portrait~ipad.png
      creating app descriptor XML
      save XXXXXXXXX-app.xml
      create build.bat

     

      run build.bat

     

    thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 2:58 PM   in reply to Pea

    Not unless I double click on build.bat in the ios folder myself. And even then it flashes up and disappears.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 3:25 PM   in reply to Pea

    ' java' is not recognised as an internal or external command, operable program or batch file.

     

    I'm runing Windows 7 using parallels for mac.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 3:50 PM   in reply to Pea

    I don't have the 'Use Java (adt.jar' check box ticked.

     

    If I do indeed need to set the Java path, where do I link the Path to JAVA (JRE) to? is it something I need to download from Adobe?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 4:17 PM   in reply to Pea

    I tried using ADT in terminal, but it goes right over my head. I'm a designer not a coder

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 4:26 PM   in reply to Pea

    Thanks. After installing Java, it seems to be doing something

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 4:39 PM   in reply to Pea

    After a long wait, a shiny new IPA appeared. Thanks Pea, you are a star!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 13, 2011 8:14 PM   in reply to Pea

    Sorry, I used my email to reply you. It seems the forum cut off some contents in my mail. My change in line(3) in the xml file:

    <id>Weather AIR 2.6</id>

    ->

    <id>WeatherAIR26</id>

    error1.jpg

     
    |
    Mark as:
1 2 3 Previous Next
Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)