Skip to main content
Participant
Sep 23, 2013 7:59 AM UTC
Question

Packaging ad-hoc IPA on OSX fails: Illegal Instruction 4

Hey everyone.

Since a few days we are encountering problems when packaging an AIR app for iOS in Ad-Hoc mode. Surprisingly it only happens on OSX systems, on Windows machines the packaging works fine.

The problem seems to be related to bit code optimisation. The error message we get is:

/var/folders/xb/rnv7n04504z1nl2fctzrhh6w0000gn/T/cmd9115877983785729048.tmp: line 1: 17432 Illegal instruction: 4  "java" "-Djava.util.Arrays.useLegacyMergeSort=true" "-Xms32m" "-Xmx32m" "-cp" "/some/path/air3-8_sdk_mac/lib/adt.jar" "com.adobe.air.ipa.BitcodeOptimizer" "/some/path/client/dist/ios/AOTBuildOutput9062268743264798939.tmp/BitcodeOptimizer_opts.ser"

Our research so far shows, that the message "Illegal instruction: 4" may be related to gcc/llvm.

The OSX systems we tested on run on OSX 10.8 and it fails with the AIR SDK 3.8 beta as well as with the current final release. We could track down the issue to one single commit, which introduced asynchronus texture upload via uploadCompressedTextureFromByteArray().

Any help?

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

9 replies

Participant
Sep 24, 2013 9:59 AM UTC

Hi Erik,

I'm Alisa, from the Adobe Flash team

I used a simple swf to package a .ipa fie with target ad-hoc.  It worked well without error threw. (Mac 10.8.5 + AIR 3.8.0.1470)

If possilbe ,could you please share me a sample file to quick our investigation? alisaw@adobe.com

thank you.

Alisa

Translate
Erik SixtAuthor
Participant
Sep 25, 2013 6:39 AM UTC

Thanks for your help Alisa. I have sent you the files via email.

Translate
Participant
Nov 7, 2013 3:03 AM UTC

An internal bug has already been filed. And it is under the tofix quene. 

thanks for your patience.

Translate