Community

Topic: Xamarin component

Compiled app size

dpohl@nextgennewmedia.com
Tuesday, December 5, 2017

We are just using the geomarkers part of the SDK, adding this to our existing app has increased our app size from 21mb to 250mb. Is there anything we can do to reduce the size of the compiled app?

user profile image
Support Team  (expert)
Thursday, December 7, 2017

Hi,
are you using compiling android or ios?
Could you please describe your compilation settings?

dpohl@nextgennewmedia.com
Tuesday, December 12, 2017

We are currently compiling on IOS, we've managed to reduce the size by changing various settings. Currently linker behavior is 'no link', architecture is' arm64' and we are optimizing PNG images. This still adds approx. 60mb to our app size.

Are there 1) other settings we can change/optimize or 2) can we somehow remove the GoogleMaps dependency and use the native Apple maps on the device?

Thank you for any assistance.

user profile image
Support Team  (expert)
Tuesday, December 12, 2017

Hello,
if you want to try to reduce the dimension of your ipa,
you should use , in release iOS compiler options, the "Link SDK framework only".
This allow the linker to execute some sort of optimizations on final ipa.
If you follow this approach, you could probably add some native framework linking
in mtouch additional args needed from GoogleMaps framework.
Check the GoogleMaps SDK iOS reference guide for a list of complete additional frameworks.

Regards

Sign in to add a comment