#useLegacyAOT
Explore tagged Tumblr posts
Text
"Compilation failed while executing : compile-abc" Error while using the fast iOS packager
Since the release of the fast iOS packager, I've experienced problems with compiling release versions with it.
Because it was still in beta and since it was still possible to use the legacy compiler, I chose to use the legacy compiler each time (especially since it was more stable).
When the 64-bit iOS requirement came into play on February 1st, the legacy compiler was no longer a viable option for creating release versions for the AppStore, moreover, it was completely removed from AIR 16 (and all future versions).
So, now I had to use it to compile my app.
This is what I got when I tried to compile a release build:
Error occurred while packaging the application: Stack dump: 0. Program arguments: C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot/bin/compile-abc/compile-abc.exe -mtriple=armv7-apple-ios -filetype=obj -sdk C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot/lib/avmglue.abc -fields C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot/lib/air-fields.arm-air.txt -O3 -ane-symbol=MmgCmApiExtInitializer -ane-symbol=MmgCmApiExtFinalizer -ane-symbol=MmgRbApiExtInitializer -ane-symbol=MmgRbApiExtFinalizer -ane-symbol=MmgStoreKitApiExtInitializer -ane-symbol=MmgStoreKitApiExtFinalizer -ane-symbol=MmgGoViralApiExtInitializer -ane-symbol=MmgGoViralApiExtFinalizer -ane-symbol=MmgGaApiExtInitializer -ane-symbol=MmgGaApiExtFinalizer -ane-symbol=MmgGAIDFAAccessApiExtInitializer -ane-symbol=MmgGAIDFAAccessApiExtFinalizer -ane-symbol=AFExtensionInitializer -ane-symbol=PushwooshExtInitializer -ane-symbol=PushwooshExtFinalizer -abc-file-list=C:\BingoIslandWeb\Client-branch-1.06.05\BingoIslanMobile\BingoIsland\bin-release-temp\AOT\AOTBuildOutput4982262150932522887.tmp\ABCFilesList.txt Compilation failed while executing : compile-abc
Now, you may receive a different error message, there are many variations to it, but the bottom line is the same: You cannot compile a release version using the fast packager.
Here are some of the actions you can take which may assist you in overcoming this problem (the solution which solved the issue depicted above is the first one):
1. Change all the constants to variables ("const" -> "var")
2. Check if there are any empty switch statements, if there are, remove them.
3. You are using an outdated AIR SDK, you can download the most updated version from here.
If you are experiencing this problem and none of these solutions help you, feel free to comment.
0 notes