Xamarin Reduce Ios App Size
Llvm enabled thumb 2 enabled strip native debug symbols enabled linker set to link.
Xamarin reduce ios app size. When you compile il code into machine code the code size gets bigger we found a while back that it was about a 3x increase. If you don t enable the other aot options and proguard but still use aot you may be looking at a 65 increase in file size. Your app is going to be bigger.
I ve performed all the recommended optimizations no debug symbols lvvm code generation thumb 2 link all assemblies single architecture only armv7. I m developing a reasonably simple app using xamarin ios and the smallest size i ve gotten for the app file is 13 5 mb. A blank xamarin forms app with aot enabled can only get down to 15mb at it s best.
Xamarin android apps are not ahead of time compiled because android allows just in time compiling. An empty traditional xamarin ios non xamarin forms app that is about 4 01mb in size estimated app store size an empty xamarin forms 2 0 ios app is about 16 4mb estimated app store size for both of these apps i used the following settings. Xamarin apps can be heavy and the above methods can help you reduce the application size to the minimum.
11mb are there any other ways to reduce the size. But always remember you won t able to make your app the same size as a native app because xamarin forms and mono add quite a significant amount of overhead to the file size. Aot increases that even further but if you perform everything.
Xamarin reduce app size. As the default packages that you ll need to get started with xamarin forms on ios and android all have linking support you won t have a. I have created a new xamarin forms project using the visual studio 2017 cross platform pcl template and not added anything else.
I have managed to reduced the app size by setting the linking to sdk and user assemblies and making a release build but my app size is still too large.