tag:support.gradlefx.org,2011-05-23:/discussions/problems/2245-gradle-vs-flash-builder-build-anenative-extension-not-inludedGradleFx: Discussion 2016-02-07T10:51:13Ztag:support.gradlefx.org,2011-05-23:Comment/390951902016-02-04T18:38:13Z2016-02-04T18:38:13Zgradle vs flash builder build, ane/native extension not inluded<div><p>Hi,</p>
<p>I think the reason is because you've set 'nonLegacyCompiler' to
true. Therefore the <a href="http://www.adobe.com/devnet/air/articles/ios-packaging-compiled-mode.html">
new AIR compiler</a> will be used when packaging the project. This
compiler is faster than the legacy compiler, but compiles to
64-bit, so that it is compatible with 64-bit iOS.</p>
<p>Quote from Adobe's release notes:</p>
<blockquote>
<p>Please note that support for creating universal IPA binaries
will only be available in the new compiler. The legacy compiler is
not (and will not be) compatible with iOS 64-bit. Because of this,
it will be removed with version 16 of the AIR SDK.</p>
</blockquote>
<p>So what you probably actually want to do is turn this property
off by setting it to false.</p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/390951902016-02-05T09:06:08Z2016-02-05T09:06:09Zgradle vs flash builder build, ane/native extension not inluded<div><p>Hi, thanks for your insane fast response :), I already tried to
toggle the "nonLegacyCompiler"-switch (I missed to mention that,
sorry; the way you explained it, makes playing with this switch
pointless... :) I was/am a bit frustrated and out of ideas.)</p>
<p>I attached parts of the config file, maybe it helps; I call<br>
gradle clean && gradle --info --console rich releaseIOS
-Pversioning=gittag<br>
(where releaseIOS task dependsOn packageMobile, versioning is a
variable I evaluate to set project.config.versionNumber)</p></div>Matthias Kellertag:support.gradlefx.org,2011-05-23:Comment/390951902016-02-07T10:51:11Z2016-02-07T10:51:11Zgradle vs flash builder build, ane/native extension not inluded<div><p>Hi Matthias,</p>
<p>I can't find the issue, everything seems to indicate that
something was compiled with AIR 16 (or with the new adt compiler),
but I can't pinpoint what.</p>
<p>Also, one thing I noticed which is probably unrelated to your
issue, but which got my eye:</p>
<p>"airMobile.targetDevice = true": Quite sure 'true' isn't a valid
value here. the targetDevice GradleFx property is actually the
"-device" adt option, so expects the same values. For more on this,
see: <a href="http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128fc240122-7ffa.html">
http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128f...</a></p></div>Yennick Trevels