Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Publishing iOS app, Linker breaks my app, ipa too big?

$
0
0

I've been having trouble on publishing my app on itunes connect.

I cant publish the app with "Link none" because the .ipa file gets over the 60Mbs limit (according to application loader)
I went to my csproj
removed the "Default" from the following line:

    <MtouchArch>ARMv7, ARM64</MtouchArch>

This way i was able to reduce the size of the file for about 30 mbs, but my application loader keeps saying its over 60Mbs.

So if I set my app to "Link assemblies only" my app wont run and I get the following error:

System.ExecutionEngineException: Attempting to JIT compile method 'Microsoft.Scripting.Interpreter.LightLambda:MakeRun0<Xamarin.Forms.Rectangle> (Microsoft.Scripting.Interpreter.LightLambda)' while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.

I believe this is related with some RelativeLayouts that I use on my app which need to use lambda expressions and won't work very well with Ahead of Time type of compilation. For what I understand this AOT compilation is mandatory for publishing apps on iOS devices.

I've also tried to reduce the number of components on the app to a minimum.

So any ideas what I should try next?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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