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?