Quantcast
Channel: Adobe Community : All Content - AIR Bugs and Performance Issues
Viewing all articles
Browse latest Browse all 1419

why after adding "-useLegacyAOT no" I see "Uncompiled ActionScript" popup ?

$
0
0

Hello

 

ipa worked fine in debug mode but crashed in adhoc mode.

The app crashed constantly at the same point (after clicking a button inside the app)

I searched for ios crash logs but couldn't find anything meaningfull:


"bug_type":"109"...

Exception Type:  EXC_BAD_INSTRUCTION

 

After hours of commenting out parts of the code I found this weird issue.

I had a class with a method clear().

Nothing inside this method was wrong.

But adding meaningless lines like fixed it:

var a:int = 0;

a+= 1;

trace("a=" + a);

 

 

So I assume it was a bug in the legacy AOT

 

Then I tried to solve this issue by using the new AOT (-useLegacyAOT no) and it worked.

It was really fast and nice.

 

But using the new AOT now I face a new problem.

I get this popup:

"Uncompiled ActionScript"

"Your application is attempting to run uncompiled ActionScript, probably due to the use of an embedded SWF,

This is unsupported on IOS, See the Adobe Developer Connection website for more info"

 

I load a swf with no code inside, only bitmap with as3 linkage in its library.

This popup wasn't there before adding "-useLegacyAOT no".

 

My questions are:

What caused this bug before adding "-useLegacyAOT no"?

And why after adding "-useLegacyAOT no" I get "Uncompiled ActionScript" popup ?

 

I use

FlashBuilder 4.7

Adobe Air SDK 14


Viewing all articles
Browse latest Browse all 1419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>