简体   繁体   English

如何检查.ipa文件中的每个模块或每个文件集的大小?

[英]How can I check for each and every module or set of files size in my .ipa file?

we have implemented one universal application. 我们已经实现了一个通用应用程序。 It's a huge application and 6-8 SDKs are integrated, So the entire app is taking around 40MB size. 这是一个巨大的应用程序,并且集成了6-8个SDK,因此整个应用程序大约需要40MB的大小。

After all, we want to reduce the size of the application. 毕竟,我们要减小应用程序的大小。 So we started the investigation, where exactly it is taking more size. 因此,我们开始进行调查,确切地讲,这需要更大的规模。 What I know is, I can check for useless view controllers, and I can remove 1x images. 我所知道的是,我可以检查无用的视图控制器,并且可以删除1x图像。 And these things we can do in Xcode. 这些我们可以在Xcode中完成。 But what if we want to know the sizes it is taking in .ipa file itself. 但是,如果我们想知道.ipa文件本身的大小,该怎么办。 Is it possible ? 可能吗 ?

But is there any better way to know the .ipa size module/ SDK wise. 但是,还有什么更好的方法来了解.ipa size模块/ SDK。 Please let me know. 请告诉我。 Any optimisation tool are available ? 有可用的优化工具吗?

The following post has good advice on optimizations https://medium.com/@mandrigin/ios-app-performance-instruments-beyond-48fe7b7cdf2#.btdp7bv5t 以下帖子对优化提供了很好的建议https://medium.com/@mandrigin/ios-app-performance-instruments-beyond-48fe7b7cdf2#.btdp7bv5t

Also, you can try to access images in the IPA file using such tools like iBrowse and even better if you have a device with a firmware less than 9.3.3 to perform a jailbreak and investigate. 另外,您可以尝试使用iBrowse之类的工具访问IPA文件中的图像,如果您的设备固件版本低于9.3.3,则可以更好地进行越狱和调查。

You can go even deeper by: 您可以通过以下方式更深入地了解:

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

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