Skip to main content
rjoshicool
Inspiring
Oct 12, 2011 8:12 PM UTC
Question

SWF and XML for Command line compiling for iOS

I need to compile an application for iOS using command line ADT. I need to pass the SWF and XML to the ADT command. But which ones do I need to pass as the ones available are in the debug folder and I don't think they are well optimized for mobile publishing. Also the XML has debug with id in it.

This topic is closed to new replies. Start a new post to keep the conversation going.

9 replies

Adobe Employee
Oct 13, 2011 6:53 AM UTC

Hi,

Yes, Flash Builder, by default, doesn’t save release swfs. A simpler way to get them however be to go to Project->Properties->Flex Compiler and set

‘-debug=false’ in compiler arguments.

Now the swf generated in bin-debug will be a release swf.

Please let us know in case you face any issues.

Thanks,

Amish.

Translate
Participating Frequently
Oct 13, 2011 4:39 PM UTC

I'm not sure that's really simpler. For one thing, it still gives you the .debug on the end of the application ID, which is undesireable in a release build.

Translate
Adobe Employee
Oct 14, 2011 5:15 AM UTC

Yes your are correct. The application id has .debug at the end. However the swf has no debug information in it.

You can to export a release version of your application to get the release swf.

You can find more information at:

http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-13a250c812e8e9b5533-7ff9.html

Thanks,

Amish.

Translate
Participating Frequently
Oct 12, 2011 8:32 PM UTC

I take it that you are using Flash Builder. If so, here's a little trick:

Open the Export release build dialog.

Click Next.

Click Cancel.

To prepare for packaging, Flash Builder compiles the SWF and app.xml and puts it in a folder called, bin-release-temp. When you cancel the export, the files are not cleaned up (they are only deleted when you complete the packaging through Flash Builder).

Translate