Skip to main content
May 31, 2011 2:36 PM UTC
Question

iOS packaging ipa-debug fails

Hi,

I follow the nice tutorial http://va.lent.in/blog/2011/03/25/air2-6-app-for-ios/. For simple apps the build script is working fine.

But when I try to build an application with the debug target (ipa-debug) with an additional SWC, the build fails after a while.

The exception occurs not in the ant output, instead a window is popping up:

Title: Microsoft Visual C++ Runtime Library

Content: Runtime Error! Program: C:\WINDOWS\system32\java.exe

The build process is allocating about 1.8 GB of memory. I try it on different machines (6 GB memory, Win7).

Does anyone know how to solve the problem?

Kind regards,

Bernd

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

11 replies

Participating Frequently
May 31, 2011 3:05 PM UTC

Hi Bernd,

Is this a flex application? What is the size of the swf that you are trying to package?

We do have a few known packaging bugs with AIR 2.6 that are specific to Windows. You could give it a try on a Mac if you have one.

Also, try packaging with -Xmx1024m or -Xmx768m switch.

-Sanika

Translate
May 31, 2011 3:54 PM UTC

Hi Sanika,

yes it is a Flex application (4.5.0). The SWF file size is about 1.5 MB.

I do not have access to an Mac.

Where do I need to specify the -Xmx1024m switch?

I tried it directly as an ANT argument, mxmlc argument and ADT argument, but it does not work. The argument is rejected by all three applications.

Bernd

Translate
Jun 1, 2011 6:30 AM UTC

Hi Sanika,

I managed to use the -Xmx switch for java and tried serveral values, but it didnt help.

Any other idea?

Maybe its a problem with Flex 4.5.0? It seems that Flash Builder 4.5 does not offically support iOS deployment, only Android. Maybe I need to wait for 4.5.1!?

Cheers,

Bernd

Translate