Skip to main content
Participant
September 23, 2013
Question

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

  • September 23, 2013
  • 1 reply
  • 1583 views

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 has been closed for replies.

1 reply

Participant
September 24, 2013

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

Erik SixtAuthor
Participant
September 25, 2013

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

Participant
November 7, 2013

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

thanks for your patience.