This is a known issue when using Apple Oracle Java 1.7.
To resolve this issue, you will have to use Java 1.6 instead.
Is this really the only solution? I've been trying to go back to Java 1.6 following various threads found on internet but have been unable to get to work - does Adobe have any plans to fix on thier end? Here's error message I'm getting, have tried switching Air versions but didn't help. We've actually had to remove an app from app store because unable to export to fix a bug, so any help would be appreciated.
Exception in thread "main" java.lang.Error: Unable to find llvm JNI lib in: /Applications/Adobe Flash CS6/AIR3.2/lib/adt.jar/Darwin /Applications/Adobe Flash CS6/AIR3.2/lib/aot/lib/x64 /Applications/Adobe Flash CS6/AIR3.2/lib/adt.jar /Applications/Adobe Flash CS6/AIR3.2/lib at adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:577) at adobe.abc.LLVMEmitter.(LLVMEmitter.java:591) at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java:407) at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.java:1585) at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:300) at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:620) at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:91) at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:224) at com.adobe.air.ADT.parseArgsAndGo(ADT.java:557) at com.adobe.air.ADT.run(ADT.java:414) at com.adobe.air.ADT.main(ADT.java:464)
You should not encounter this issue when using Java 1.6 for packaging.
Can you check your java preferences, in Application>Utilities and check if the priority of Java 1.6 is higher than Java 1.7?
Thanks but the Java utility is no longer available in OS X - what I did end up doing though was deleting the /Library/Java/JavaVirtualMachines/1.7.0.jdk directory, and guess the system just falls back to using 1.6 because now it's working - thanks again.