I keep getting the following error when trying to publish an app I'm developing for iOS:
Error occurred while packaging the application:
Exception in thread "main" java.lang.Error: Unable to find named traits: mx.utils::Base64Encoder
at adobe.abc.Domain.resolveTypeName(Domain.java:232)
at adobe.abc.Domain.resolveTypeName(Domain.java:149)
at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6775)
at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:6019)
at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4733)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)
at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:532)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:341)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler .java:599)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)
Compilation failed while executing : ADT
I get this when trying to build for distribution and when trying to debug using the "standard" option, but if I use the "fast" option it publishes okay, but a 3d party library I'm using to generate SHA256 hahes and Base64 encoded strings doesn't perform as expected.
I'm also building this same project to Android and everything works fine on Android. I'm not referencing mx.utils.Base64Encoder anywhere in my code or config files or referenced projects.
I've tried including the framework swc in my project and I still get the error when publishing. I also tried recreating the project in case something had gotten correupted somehow and it still throws the same error while packaging.