• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

iOS packaging error

New Here ,
Feb 25, 2013 Feb 25, 2013

Copy link to clipboard

Copied

Just moved to AIR 3.6 SDK. Seeing the following error when packaging for iOS via adt on the command line:

Exception in thread "main" java.lang.Error: flash.data::SQLIndexSchema::flash.data:SQLIndexSchema::_table has a slot id(4) larger than the name count(2).

          at adobe.abc.GlobalOptimizer$InputAbc.readTraits(GlobalOptimizer.java:855)

          at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:1030)

          at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:391)

          at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:279)

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

          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

Seems to work fine when packaging within Flash Builder 4.7, but I need the command line to work for automated builds. Any ideas on eliminating or working around this error?

TOPICS
Air beta

Views

2.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 02, 2013 Apr 02, 2013

Copy link to clipboard

Copied

Hi,

Did anyone got any solution this problem? I hit the same problem. with AIR 3.6.

[java] Exception in thread "main" java.lang.Error: flash.events::NativeDragEvent::public::clipboard has a slot id(11) larger than the name count(5).

     [java]      at adobe.abc.GlobalOptimizer$InputAbc.readTraits(GlobalOptimizer.java:855)

     [java]      at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:1030)

     [java]      at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:391)

     [java]      at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:279)

     [java]      at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:320)

     [java]      at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:599)

     [java]      at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)

     [java] Compilation failed while executing : ADT

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 03, 2013 Apr 03, 2013

Copy link to clipboard

Copied

Any workarond for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 16, 2013 Apr 16, 2013

Copy link to clipboard

Copied

Did anyone ever find a solution for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 17, 2013 Apr 17, 2013

Copy link to clipboard

Copied

Hi,

Thank you for your bug report. Could you please share packaging command, sample application, OS used, SDK version used and other assets needed. This would help us to investigate the problem.

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2013 Apr 18, 2013

Copy link to clipboard

Copied

Hi,

I found this problem in sdk downloaded from http://www.adobe.com/devnet/air/air-sdk-download.html.( Currently it is replaced with 3.7 it seems. ). I also tried with 3.7 Beta got the same problem. I have not tried with 3.7 though.

The machine is 64 bit windows machine with Java version 7 update 17.

The problem occurs with AIR SDK 3.6 ASC 2.0 Compiler. If we use AIR SDK 3.6 without ASC 2.0 ( use ASC 1.0 Compiler) then the problem does not occur. But I badly need AIR SDK 3.6 atleast with ASC 2.0. Please try to get some workaround for this problem. I have also read some where that this problem does not occur with Mac. But I don't have any access to Mac to verify this claim...

I have also reported this bug at https://bugbase.adobe.com/index.cfm?event=bug&id=3537914. But still have not got any solution to this problem. ...

The packaging command used is something like below:-

<java jar="${adt.jar}" dir="AIRMobile/src/" fork="true" failonerror="true">

            <sysproperty key="file.encoding" value="UTF-8"/>

            <arg value="-package"/>

            <arg value="-target"/>

            <arg value="ipa-ad-hoc"/>

            <arg value="-provisioning-profile"/>

            <arg value="xyz.provission"/>

            <arg value="-storetype"/>

            <arg value="pkcs12"/>

            <arg value="-keystore"/>

            <arg value="xyz.keystore"/>

            <arg value="-storepass"/>

            <arg value="xyx"/>

            <arg value="AIRMobile.ipa"/>

            <arg value="AIRMobele.app.xml"/>

            <arg value="icons/*.png"/>

            <arg value="assets/*.swf"/>

            <arg value="url.txt"/>

            <arg value="-C"/>

            <arg value="somedir/"/>

            <arg value="AIRMobile.swf"/>

            <arg value="-extdir"/>

            <arg value="release_libs"/>

        </java>

Just to add also tried with ipa-debug. Tried increasing java heap size to 4GB. Still got the error.

Thanks,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 10, 2013 Sep 10, 2013

Copy link to clipboard

Copied

I have the same issue on Mac with Air 3.8 and 3.9beta.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 25, 2013 Nov 25, 2013

Copy link to clipboard

Copied

Running Mac OS X Mavericks + Air 3.9, having the exact same issue as the original reporter: unable to package the ipa with the clipboard error message. Works fine when using FDT to package.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 26, 2013 Nov 26, 2013

Copy link to clipboard

Copied

LATEST

I finally managed to fix the error reported by the first poster.

I had to add 2 params to the JVM used by the Ant task:

<jvmarg value="-Dsun.io.useCanonCaches=false" />

<jvmarg value="-Dflexlib=${FLEX_HOME}/frameworks" />

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines