Copy link to clipboard
Copied
Hello, I saw in the release notes for AIR 16 and the new iOS universal support we will need to use the new compiler, I assume that means "-useLegacyAOT no". I tried compiling my app with AIR 15 and got some weird errors, so I set "-useLegacyAOT yes" and it worked properly. I have a question whose answer would help me a lot.
Can I continue NOT to use the ASC 2.0 compiler, or must I use it in the future as I set -useLegacyAOT to no?
Thank you!
-jonathan
Hi Jonathan,
“new compiler” here mean “new AOT Compiler”.
Please continue to use ASC 2.0 compiler to create swf files. It is better than ASC 1.0
AIR 15 doesn’t have universal IPA support. You need to use AIR 16 for the same. AIR 16 have only new AOT compiler and “-useLegacyAOT” is not honoured anymore.
Hope that answers your queries.
Thanks
Govinda Gupta
Copy link to clipboard
Copied
Hi Jonathan,
“new compiler” here mean “new AOT Compiler”.
Please continue to use ASC 2.0 compiler to create swf files. It is better than ASC 1.0
AIR 15 doesn’t have universal IPA support. You need to use AIR 16 for the same. AIR 16 have only new AOT compiler and “-useLegacyAOT” is not honoured anymore.
Hope that answers your queries.
Thanks
Govinda Gupta
Copy link to clipboard
Copied
Hi Govinda, thanks for the quick reply. I would like to use the ASC 2.0 compiler, but at the time of AIR 4.0, I was getting a few errors when I tried, so I stayed with ASC 1.0 (for example, it flagged my use of someObj.default, I guess I would have to change it to someObj["default"]). When I tried using ASC 1.0 and AIR 15 (leaving the default -useLegacyAOT no), my iOS app was crashing with an unusual error before reaching the first line of the program during debugging, so it seems like an incompatibility in assembling the SWF. I will go ahead and try to fix the errors to get the ASC 2.0 compile to work, then I can see if AIR 15 and 16 will result in a clean build.
Thanks again, and of course thanks for you and your team's hard work!
-jonathan