Got java.lang.NullPointerException when compiling for iOS app store. Any ideas?
Hi,
I've been developing a calculator app for iOS using Adobe AIR 3.0. I'm using the latest Flex SDK 4.6 for compilation in FlashDevelop 4.0.
Everything worked great for testing purposes (using ipa-debug-interpreter and ipa-test-interpreter targets.)
However, when using slow compile mode targets (using ipa-debug and ipa-test targets) and when compiling for ad-hoc or app store (ipa-app-store target), I get the following error:
Packaging: dist\MetaCalcIPhone-app-store.ipa
using certificate: cert/iphone_dev.p12...
Exception in thread "main" java.lang.NullPointerException
at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:524)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:335)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:412)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
Compilation failed while executing : ADT
Press any key to continue...
I'm at the last stage of the development. Just need to submit the app to the app store. Any pointers would help. Thanks.
