View unanswered posts | View active topics


Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Packager for Iphone 
Author Message
Member

Joined: Sat Aug 21, 2010 7:34 pm
Posts: 26
Post Re: Packager for Iphone
Right, but I just got sick of having Flash tied up while it compiles, which can take several minutes. That's why I wanted some way to do it using the command line tool. Does that make sense?

Basically, instead of the way I did it using an xml file, it'd be nice to have a plugin for FD which stores those same variables and then calls the batch file like I'm doing.


Sat Dec 11, 2010 6:49 pm
Profile
Member

Joined: Sat Dec 19, 2009 2:38 am
Posts: 9
Post Re: Packager for Iphone
Hi unabogie

Quote:
The batch file could be changed to use the pfi directly, but I have Windows 7 and it kept complaining about the wrong version of Java. So I installed a 32 bit version of Java ("C:\Program Files (x86)\Java\jre1.5.0_22\bin\java.exe") and run it from the jar ("C:\Program Files (x86)\Adobe\Adobe Flash CS5\PFI\lib\pfi.jar"). If you have Flash CS5, this will let you compile an ipa file without tying up Flash.


I'm using the german iPhone template, but I was having the same issue regarding the 64 bit version of java. I managed to fix the problem by editing the pfi.bat file inside the flex directory to load the 32 bit version explicitly:

So I replaced:
Code:
@java -Xms256m -Xmx1024m -jar "%~dp0\..\lib\pfi.jar" %*

with
Code:
@"C:\Program Files (x86)\Java\jre6\bin\java" -Xms256m -Xmx1024m -jar "%~dp0\..\lib\pfi.jar" %*


With the full path specified the 32 bit version is loaded explictly and the batch file/packager works a charm.

Hope that helps!

_________________
James McNess
http://www.codeandvisual.com
web media design & development


Sun Feb 20, 2011 3:15 am
Profile
Member

Joined: Tue Mar 01, 2011 8:29 am
Posts: 1
Post Re: Packager for Iphone
Hello,
I am working on an iPad appliction with several swc files with graphical assets in the project.
Using the german template from http://blubl.geoathome.at I can successfully compile the IPA file with it.
Unfortunately when I run the application on my iPad I just see a blank white screen.

Do you have any ideas?

Thank you in advance.


Tue Mar 01, 2011 11:29 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10740
Location: Paris, France
Post Re: Packager for Iphone
I suggest you wait for a new packager to be released - Adobe is working on improving AIR to iOS packaging.


Tue Mar 01, 2011 3:15 pm
Profile WWW
Member

Joined: Tue Jun 14, 2011 6:11 pm
Posts: 9
Post Re: Packager for Iphone
jamesmcness wrote:
I'm using the german iPhone template, but I was having the same issue regarding the 64 bit version of java. I managed to fix the problem by editing the pfi.bat file inside the flex directory.


Hi jamesmcness can you upload your "iPhone Packager" folder that contain pfi.bat file?


Thu Jul 21, 2011 1:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.