为ios减小谷歌地图sdk的大小 [英] Decreasing the size of google maps sdk for ios

查看:121
本文介绍了为ios减小谷歌地图sdk的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载谷歌地图sdk(1.8.1)为ios,我用它在我的app.But我注意到的是框架的大小约为55MB。是否有任何方法来减少框架的大小。
目录结构GoogleMaps.framework / Versions / A中名为A的文件约为54MB。谷歌地图取决于这个文件。请提供一些帮助。

i dowloaded google maps sdk (1.8.1) for ios,I'm using it in my app.But what i noticed is that size of the framework is about 55MB.Is there any way to decrease the size of framework. A file named "A" in directory structure "GoogleMaps.framework/Versions/A" is about 54MB.Is google maps depended on this file.please suggest some help.

推荐答案

将GoogleMap框架保持在项目之外,并将其拖入项目中,而不需要复制文件。它会减小文件大小。只有捆绑文件保存在您的项目中。

Keep GoogleMap framework outside of the project and just drag it in your project without copy file. It will reduce the file size. Only bundle file keep inside of your project.

这篇关于为ios减小谷歌地图sdk的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆