Increase in app size after use of Google Maps SDK for iOS

女生的网名这么多〃 提交于 2019-12-08 20:06:45

问题


I tried using the Google Maps SDK for iOS and it seems to add a considerable amount of size (96MB) to our app, which is currently only at 26MB (using the Apple maps).

I would apprecaiate any feedback/experience on how to resolve.


回答1:


There isn't a way to resolve this. Its one of the cons of working with Google Maps SDK vs Apple maps.

Google Maps SDK is its own static framework that isn't preloaded on the device. Apple Maps are build into the OS as a dynamic framework.

Another Possibility: This is going to sound silly, but be sure you didn't copy the documentation or example code when downloading the Google Maps SDK into your app as well.




回答2:


Now with Google Maps SDK for iOS version: 1.3.1.3848 the SDK size is ONLY 15 MB while the previous version 1.3.0 was 157 MB. That's weird. I even downloaded it 3 times to make sure that this is the full file size. That's a big decrease in size from 157MB to just 15MB and there is nothing about it the release notes.



来源:https://stackoverflow.com/questions/15507408/increase-in-app-size-after-use-of-google-maps-sdk-for-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!