7 Replies Latest reply: Oct 16, 2014 11:35 AM by chaosdev RSS

    Weird problem when -useLegacyAOT no

    Ubika23 Community Member

      Hi,

       

      I'm trying to compile my mobile app with the new -useLegacyAOT no flag.

       

      Compilation goes well and when installing and launching the app (release build) on iPhone 5 with iOS 7 I get the following messages on Scout:

       

      "

      Adobe iOS

      External interface not available

      0 - Init

      Error: ga.js not found, be sure to check if

      <script src="http://www.google-analytics.com/ga.js"></script>

      is included in the HTML.

      "

      And then an error is thrown and obviously the app crashes.

       

      When I compile without the new flag I get the following expected output and the app starts flawlesly:

       

      "

      Adobe iOS

      External interface not available

      0 - Init

      Init Database

      ...

      (And the rest of the trace statements from the init)

      "

       

      So the ga class fails only when I use -useLegacyAOT no.

      I use "AS3" mode to initialize the tracker so I wonder why it's trying to find the ga.js file when the new compiler is used...

       

      Someone can share some light about this issue?