简体   繁体   English

如何从XCode项目减少Ipa的大小

[英]How to reduce size of ipa from xcode project

I am working a kids app. 我正在使用儿童应用程序。 It has number of video files and png files. 它具有视频文件和png文件的数量。 All to gather came to size of 1.6GB after compressing. 压缩后,所有要收集的大小达到1.6GB。 Is there any way to reduce the file size to use in app. 有什么方法可以减少文件大小以在应用程序中使用。

  1. try compress your image resources. 尝试压缩您的图像资源。 imageOptim is good choice. imageOptim是一个不错的选择。

  2. some kind of unnecessary resources, you can make it to download. 某种不必要的资源,您可以将其下载。 Video always the hard-disk space killer, put it in the server, if you want to display it, request it and download it as cache. 视频始终是硬盘空间杀手,将其放在服务器中,如果要显示,请请求并下载它作为缓存。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM