加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 估计应用的商店大小

发布时间:2020-12-15 01:41:28 所属栏目:百科 来源:网络整理
导读:归档一个应用程序后版本,并在组织者窗口上有一个按钮,点击它计算并显示应用程序的估计大小.在商店. 在Xcode版本以后到6.2,那个按钮消失了!还有一种方法来了解估计的应用程序.尺寸? 解决方法 是的,还可以做,但要做一点工作! 从“存档”中选择项目,然后打开
归档一个应用程序后版本,并在组织者窗口上有一个按钮,点击它计算并显示应用程序的估计大小.在商店.

在Xcode版本以后到6.2,那个按钮消失了!还有一种方法来了解估计的应用程序.尺寸?

解决方法

是的,还可以做,但要做一点工作!

>从“存档”中选择项目,然后打开包内容.
>然后在.xcarchive文件中有一个Applications目录.
>现在,在finder中打开.xcarchive,然后选择显示包内容.

最后去产品然后应用程序然后应用程序名称,您现在可以查看文件大小.

一步一步的屏幕截图:

更新:

为了防止人们对上传到iTunes之前的二进制大小的差异以及在上传到iTunes之后怀疑是这样计算的:

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):

06000

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 = maximum size of your App after approval

The calculation put in words:

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

参考this

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读