ANE: Unable to find llvm JNI lib
When trying to build a simple test application in Flash Builder 4.6 to iOS I'm getting the following error when I try to package any ANE into the project and then package it for iOS (for both fast and slow packaging methods).
I've tried with several different ANEs and the result is always the same. I've also tried reinstalling Flash Builder 4.6 and overlaying the latest AIR SDK on top of the Flex SDK and to no avail.
Note, that the liblvm.jnilib and llvm.dll files are present in the /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/lib/x64 directory.
I'm using Mac OS X (10.7.4).
Here is the error:
Error occurred while packaging the application:
Exception in thread "main" java.lang.Error: Unable to find llvm JNI lib in:
/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/adt.jar/Darwin
/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/lib/x64
/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/adt.jar
/Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib
at adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:572)
at adobe.abc.LLVMEmitter.<clinit>(LLVMEmitter.java:585)
at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java:516)
at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.java:1151)
at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:284)
at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:599)
at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:90)
at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:217)
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)
This is a massive blow for me. I'm unable to deploy to iOS.
