-
1. Re: Compilation failed while executing : compile-abc
sakjain1 Jan 2, 2014 12:53 AM (in response to bill.baldwin)Hi,
I have tried to reproduce the issue but unable to reproduce it with HelloWorld project .Could you please provide the reproducible steps and command you are using for packaging the app.
Thanks.
Sakshi
Adobe AIR Team
-
2. Re: Compilation failed while executing : compile-abc
BMA Jan 9, 2014 3:20 AM (in response to sakjain1)Hi,
I'm also getting an error when trying to package an iOS app in ad-hoc mode. I'm using the latest Air Version (4.0.0 / Build 1390) on Windows 8.1 (x64)
Stack dump:
0. Program arguments: C:\Program Files (x86)\FlashDevelop\Tools\ascsdk\lib\aot/bin/compile-abc/compile-abc.exe -mtriple=armv7-apple-ios -filetype=obj -sdk C:\Program Files (x86)\FlashDevelop\Tools\ascsdk\lib\aot/lib/avmglue.abc -fields C:\Program Files (x86)\FlashDevelop\Tools\ascsdk\lib\aot/lib/air-fields.arm-air.txt -O3
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 000.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 100.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 200.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 300.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 400.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 500.abc
C:\Projects\bma\dist\AOTBuildOutput8660645785603552808.tmp\ABCFiles\AOTBuildOutput-0000000 600.abc
Compilation failed while executing : compile-abc
This is command I use for packaging:
adt -package -target ipa-ad-hoc -useLegacyAOT no -storetype pkcs12 -keystore "cert\bma.p12" -provisioning-profile cert\bma.mobileprovision "dist\bma.ipa" "application.xml" -C bin-ios . -C "icons/ios" .
Thx!
-
3. Re: Compilation failed while executing : compile-abc
infeter Jan 15, 2014 5:32 AM (in response to BMA)first of all - this only happens when useLegacyAOT is "no".
second - this only happens when there are included swfs in a project. i have no issue with projects which don't containt any included swfs. but when i compile projects with included swfs - i receive the same error.
-
4. Re: Compilation failed while executing : compile-abc
Jakub Wagner Feb 3, 2014 4:15 AM (in response to bill.baldwin)Hey, I have found this:
Swf compiled with Flash Pro CS6 with AIR 3.9 SDK selected
No error
ipa is created a working without any problems.
Swf compiled with Flash Develop and Flex 4.6 AIR 3.9 SDK
adt throws this error:
Compilation failed while executing : compile-abc
Swf compiled with Flash Develop and Adobe AIR 4.0 SDK
adt throws this error:
duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
e$ in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-0_3.o
duplicate symbol _traits:com.distriqt.extension.facebookutils.base::ExtensionBas
e in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-0_3.o
duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils$ in
:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-1_4.o
duplicate symbol _traits:com.distriqt.extension.facebookutils::FacebookUtils in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-1_4.o
duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
ilsLoginEvent$ in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-2_5.o
duplicate symbol _traits:com.distriqt.extension.facebookutils.events::FacebookUt
ilsLoginEvent in:
AOTBuildOutput-0000000000_7.o
com.distriqt.FacebookUtils-2_5.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
e$ in:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-0_0.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk.base::ExtensionBas
e in:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-0_0.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK$ in
:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-1_1.o
duplicate symbol _traits:com.distriqt.extension.testflightsdk::TestFlightSDK in:
AOTBuildOutput-0000000000_7.o
com.distriqt.TestFlightSDK-1_1.o
ld: 10 duplicate symbols for architecture armv7
Compilation failed while executing : ld64
-
5. Re: Compilation failed while executing : compile-abc
amanglic Feb 18, 2014 4:50 AM (in response to bill.baldwin)Hi bill.baldwin,
Could you please provide simiar "Sample Code" written in DailySpinDialogViewMediator/onKeyUp() function in the abc that you have provided because we are not able to disassemble the abc file and guess a sample shell test replicating the issue.
Thanks,
Ankit
email id: anmangli@adobe.com
-
6. Re: Compilation failed while executing : compile-abc
bill.baldwin Feb 18, 2014 7:39 AM (in response to amanglic)I took a look at the function in question, and it turned out there's an empty switch() statement there, because the case statement inside was conditionally compiled out with CONFIG::DEBUG, like this:
switch ( event.keyCode ) {
CONFIG::DEBUG {
case Keyboard.S:
// do stuff.
}
}
I changed it to wrap the entire switch statement inside CONFIG::DEBUG, and now the app packages fine with "-useLegacyAOT no."
-
7. Re: Compilation failed while executing : compile-abc
BitstripsDerek Apr 3, 2014 11:30 AM (in response to bill.baldwin)Bill,
Thanks for posting about this issue and the progress you made on it.
We had the same stack trace and removing a similar empty switch statement from our code resolved the issue.
Have you registered a bug for this already?
Cheers,
Derek
-
8. Re: Compilation failed while executing : compile-abc
www.123bee.com Oct 17, 2014 4:53 AM (in response to bill.baldwin)I am getting this error , i dont know how to solve ,please help me
Compilation failed while executing : compile-abc
-
9. Re: Compilation failed while executing : compile-abc
www.123bee.com Oct 18, 2014 12:23 AM (in response to bill.baldwin)I got the solutions i just update AIR thats it


