估计应用的商店规模 [英] Estimated app's store size

查看:113
本文介绍了估计应用的商店规模的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

归档应用版本后,在组织者窗口中有一个按钮,单击它会计算并显示商店中应用的估计大小。

After archiving an app version, on the organizer window there was a button, clicking it calculates and displays the estimated size of the app on the store.

在Xcode中6.2或更高版本,那个按钮消失了!还有办法知道估计的应用程序大小吗?

In Xcode 6.2 or later versions, that button disappeared! Is there still a way to know the estimated app size?

推荐答案

是的,它仍有可能,但必须做一点工作!

Yes, it is still possible, but have to do a little work!


  1. 只需从存档中选择项目,然后打开包装内容。

  1. Just select the project from"Archive", then open package content.

然后在.xcarchive文件中,有一个Applications目录。

Then in the .xcarchive file, there is an Applications directory.

现在,在finder中打开.xcarchive,然后选择show package contents。

Now, open the .xcarchive in finder, and select show package contents.

最后转到Products然后应用程序然后转到App Name,您现在可以查看文件大小。

Finally go to Products then Applications then App Name and you can now view the file size.

逐步截屏: -

仅限于在上传到iTunes之前和上传到iTunes之后,人们对二进制文件大小的差异有疑问这里是计算: -

Just in case people have doubt regarding the difference in size of the binary before uploading to iTunes and after uploading to iTunes here is the calculation:-


Apple正在加密可执行文件。通过这样做,它的大小不会变化很多,但是它的内容通常不再像以前那样被压缩为
。通过将所有这些放在一起我得到了
,用一种方法来计算App Store中应用程序的最大大小
(它很可能会小于此值):

Apple is encrypting the executable file. By doing so its size doesn’t change much but its contents do which usually can no longer be compressed as much as before. By putting all this together i came up with a way to calculate the maximum size of your App in the App Store (it will most likely be less than this):

open the .app bundle via right-click -> Show Package Contents (on Mac)
locate the executable file and remember its (uncompressed) size (Size "A")
delete the executable from the bundle
zip the bundle and remember the bundle’s compressed size (Size "B")

大小C是添加到其他文件的100 KB苹果捆绑
。您的应用程序最大大小的最终计算如下:

Size "C" are the 100 KB from the additional files added to the bundle by Apple. The final calculation for the maximum size of your App is as follows:

A + B + C =批准后应用程序的最大大小

A + B + C = maximum size of your App after approval

计算结果为:

(未压缩的可执行文件大小)+(应用程序包压缩但没有
可执行文件) + 0,1 MB =批准后您的应用程序的最大大小

(uncompressed executable size) + (app bundle compressed but without executable) + 0,1 MB = maximum size of your App after approval

来自 this

这篇关于估计应用的商店规模的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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