Is there a way to check my app size before I create the ipa file for app store upload? i.e. while I work on my app (adding content and methods) - I want to check what would the app size be if I had created the ipa file as is.
在为应用商店上传创建ipa文件之前,有没有办法检查我的应用大小?即,当我在我的应用程序上工作时(添加内容和方法) - 我想检查如果我按原样创建了ipa文件,应用程序的大小是多少。
3 个解决方案
#1
3
When you build a target, under products, you can see the app file there, you can reveal it in finder and check out its size..
当您在产品下构建目标时,您可以在那里看到应用程序文件,您可以在查找程序中显示它并查看其大小。
#2
4
An .ipa file is typically a ZIP file with a ".ipa" extension instead of ".zip". This ZIP/IPA file contains some metadata, and the compiled app itself.
.ipa文件通常是带有“.ipa”扩展名而不是“.zip”的ZIP文件。此ZIP / IPA文件包含一些元数据和已编译的应用程序本身。
-
You can't forcast the size of an app before compiling it, for many reasons, especially the fact that the compiler will make some optimizations of your code and so on.
在编译应用程序之前,您无法预测应用程序的大小,原因很多,尤其是编译器会对代码进行一些优化等等。
-
You can't either forcast the size of the IPA, because it will be the result of the ZIP (LZW) compression on the APP payload (+ some other files), and the compression process is also dependant of the content (e.g. compressing a text file using LZW/ZIP will result in a file that is more or less big depending on the fact that the text contains more or less repetitions, etc).
你不能预测IPA的大小,因为它将是APP有效载荷上的ZIP(LZW)压缩的结果(+一些其他文件),压缩过程也取决于内容(例如压缩一个使用LZW / ZIP的文本文件将导致文件或多或少变大,具体取决于文本包含更多或更少重复的事实等)。
The only thing you may do is that you can check the sum of the sizes of all your resource files, especially images, video, sounds, etc... you add to your project & app, because of course adding a very big image file will impact the size of your final app bundle and thus the size of your IPA. But that would only be an unprecise approximation on how your final IPA size will change when adding files, without taking the LZW/ZIP compression into account anyway.
您唯一可以做的就是可以检查所有资源文件的大小总和,特别是图像,视频,声音等...您添加到项目和应用程序中,因为当然会添加一个非常大的图像文件将影响最终应用程序包的大小,从而影响您的IPA的大小。但是,这只是对添加文件时最终IPA大小如何变化的一种不切实际的近似,无论如何都不考虑LZW / ZIP压缩。
#3
0
In XCode 4.3.1, you can select target as IOS Device and from Product menu choose Archive. It creates the archive. You can view the archive detail from Window->Organizer. There you will
在XCode 4.3.1中,您可以选择目标作为IOS设备,并从产品菜单中选择存档。它创建了存档。您可以从Window-> Organizer查看存档详细信息。你会的
#1
3
When you build a target, under products, you can see the app file there, you can reveal it in finder and check out its size..
当您在产品下构建目标时,您可以在那里看到应用程序文件,您可以在查找程序中显示它并查看其大小。
#2
4
An .ipa file is typically a ZIP file with a ".ipa" extension instead of ".zip". This ZIP/IPA file contains some metadata, and the compiled app itself.
.ipa文件通常是带有“.ipa”扩展名而不是“.zip”的ZIP文件。此ZIP / IPA文件包含一些元数据和已编译的应用程序本身。
-
You can't forcast the size of an app before compiling it, for many reasons, especially the fact that the compiler will make some optimizations of your code and so on.
在编译应用程序之前,您无法预测应用程序的大小,原因很多,尤其是编译器会对代码进行一些优化等等。
-
You can't either forcast the size of the IPA, because it will be the result of the ZIP (LZW) compression on the APP payload (+ some other files), and the compression process is also dependant of the content (e.g. compressing a text file using LZW/ZIP will result in a file that is more or less big depending on the fact that the text contains more or less repetitions, etc).
你不能预测IPA的大小,因为它将是APP有效载荷上的ZIP(LZW)压缩的结果(+一些其他文件),压缩过程也取决于内容(例如压缩一个使用LZW / ZIP的文本文件将导致文件或多或少变大,具体取决于文本包含更多或更少重复的事实等)。
The only thing you may do is that you can check the sum of the sizes of all your resource files, especially images, video, sounds, etc... you add to your project & app, because of course adding a very big image file will impact the size of your final app bundle and thus the size of your IPA. But that would only be an unprecise approximation on how your final IPA size will change when adding files, without taking the LZW/ZIP compression into account anyway.
您唯一可以做的就是可以检查所有资源文件的大小总和,特别是图像,视频,声音等...您添加到项目和应用程序中,因为当然会添加一个非常大的图像文件将影响最终应用程序包的大小,从而影响您的IPA的大小。但是,这只是对添加文件时最终IPA大小如何变化的一种不切实际的近似,无论如何都不考虑LZW / ZIP压缩。
#3
0
In XCode 4.3.1, you can select target as IOS Device and from Product menu choose Archive. It creates the archive. You can view the archive detail from Window->Organizer. There you will
在XCode 4.3.1中,您可以选择目标作为IOS设备,并从产品菜单中选择存档。它创建了存档。您可以从Window-> Organizer查看存档详细信息。你会的