本文介绍了什么决定了 App Store 中应用程序的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有人能就这个问题启发我,我将不胜感激.

I'd really appreciate if anyone enlighten me about this issue.

我有一个例子,下面详细说明,如有必要,我可以举更多例子.

I've an example which is detailed below, if necessary i can give more example.

这是关于我的应用程序组成的项目的大小信息:

This is size info about items my app is composed of:

  • .ipa 文件的大小:105 mb,

  • Size of .ipa file: 105 mb,

应用程序文件的大小(位于Payload 文件夹):184.6 mb,

Size of application file(located in Payload folder): 184.6 mb,

当我显示应用程序文件的包内容时,我有总大小约为 36 mb 的可执行文件和媒体源:

When i show package contents of application file, i've got executable and media sources whose total size amount is circa 36 mb:

  • 可执行文件的大小:29.9 mb,

  • Size of executable file: 29.9 mb,

媒体源的大小(启动图像等):大约 6 mb

Size of media sources(splash images, etc): circa 6 mb

此外,在 Symbols 文件夹(与 Payload 文件夹 位于同一目录)中有 2 个 .symbols 文件.它们的大小分别为 37.8 mb 和 40.4 mb.

Also, in Symbols folder(which located in the same directory with Payload folder) there are 2 .symbols files. Their sizes are 37.8 mb and 40.4 mb.

最后,在 App Store 中,我的应用程序大小为 171 mb.

Finally, in App Store my application appears with size of 171 mb.

虽然 .ipa 文件要少得多(105 mb),但我不明白为什么 App Store 的大小如此之大.以前,我的应用程序的大小太接近 .ipa 文件大小.但是,在过去几个月中,大小之间存在很大差异(这也适用于更新的应用程序,不仅适用于新应用程序).我在 Apple 的文档中找不到与此问题相关的更新声明.如果有人为我澄清这个问题或向我提供有关此问题的任何来源,我将不胜感激.

While .ipa file is much more less (105 mb), i cannot get why App Store size is so great.Previously, my apps' size were too close to .ipa file size. However, for last couple of months there are great difference between the sizes(this also valid for updated apps, not only valid for new apps). I could not find updated statement related to this issue on Apple's documentation. If anybody clarify this issue for me or direct me any source on this issue, i'd really be thankful.

推荐答案

自 iOS 9 以来的一个区别是 应用瘦身:变体仅包含目标设备所需的可执行架构和资源."

One difference since iOS 9 is app thinning: "A variant contains only the executable architecture and resources that are needed for the target device."

可能会删除特定设备不需要的许多资源,因此下载到设备的大小取决于该设备.

Many resources not needed for a specific device may be removed, so the size downloaded to a device is based on that device.

现在应用商店中报告尺寸的方式也可能有所不同,因为不再有一种适合所有设备的尺寸.

There may also now be a difference on how thw esize is reported in the app store since there is no longer one-size fits all devices.

此外,上传到应用商店的内容可能包含未下载到设备的 Bitcode.

Additionally the upload to the app store may contain Bitcode which is not downloaded to the device.

这篇关于什么决定了 App Store 中应用程序的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 09:36