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

A clarification on the compiler for iOS universal support

Explorer ,
Dec 17, 2014 Dec 17, 2014

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


TOPICS
Air beta

Views

549

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

correct answers 1 Correct answer

Adobe Employee , Dec 18, 2014 Dec 18, 2014

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

Votes

Translate

Translate
Adobe Employee ,
Dec 18, 2014 Dec 18, 2014

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

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
Explorer ,
Dec 18, 2014 Dec 18, 2014

Copy link to clipboard

Copied

LATEST

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

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