Skip to main content
Participating Frequently
September 15, 2012
Question

Flash Builder 4.7 iOS packaging problem

  • September 15, 2012
  • 4 replies
  • 1164 views

I get the following error message when compiling my app with air 3.4 with Standard packaging or release build. Interestingly when using fast packaging I don't get any problem.

Error occurred while packaging the application:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1

          at adobe.abc.GlobalOptimizer$InputAbc.readCode(GlobalOptimizer.java:1134)

          at adobe.abc.GlobalOptimizer$InputAbc.readBody(GlobalOptimizer.java:682)

          at adobe.abc.GlobalOptimizer$InputAbc.readBodies(GlobalOptimizer.java:403)

          at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:331)

          at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:533)

          at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:80)

Compilation failed while executing : ADT

I don't have a clue on where to start looking... Icon files etc are the same as when using an older sdk.

Any help appreciated!

/David

This topic has been closed for replies.

4 replies

Participant
September 17, 2012

Are you able to replicate the issue with a small chunk of code or are you able to forward me the code? I am trying locally and with simple apps that I have I am not running into the issue and I would like to be replicate the issue that you are seeing so that we can look into it.

-Brent

Daevid66Author
Participating Frequently
September 18, 2012

Hi Brent, I've got a bug filed in this thread, including a project where I've isolated the probem to a single swc lib:

http://forums.adobe.com/message/4703810#4703810

/David

March 23, 2013

the problem is you need to revert Java back to 1.6:

http://www.247sw.ca/revert-to-java-1-6-jdk-on-mac-mountain-lion