是否需要 bitcode 以允许用户仅下载目标设备所需的可执行架构?

Is bitcode required in order to allow users to download only the executable architecture needed for the target device?

我的应用程序很大,用Unity3D制作的普通麻将游戏差不多有100MB。我想为我的观众提供较小的下载量。

大部分问题来自 fat 二进制文件(armv7arm64 体系结构)中嵌入的 可执行文件 代码。我不使用很多图像,使用按需 resources/levels 在我的游戏中没有多大意义。

看起来 Apple 的 App Slicing 功能是可行的方法,因为它允许 iOS 9 用户从 App Store 下载仅包含目标设备所需的可执行架构的应用变体。

由于我使用的是不支持位码的第 3 方框架,我的问题是:

  1. 为了我的目的,是否需要 位码支持? App Store 是否需要 位码才能 'slice' 我的应用程序供 iOS 9 用户使用?
  2. 如果不需要 bitcode,我需要将我的部署目标设置为 iOS 9 还是我仍然可以支持 iOS >= 7 并利用 App Slicing 作为 [=13] =] 用户?

1) 正如您在 Apple Doc 中看到的那样,App Slicing 和 Bitcode 是两个不同的东西,所以是的,它会工作 iOS9 用户

2) 相同 link

Note: Sliced apps are supported on devices running 9.0 and later; otherwise, the store delivers universal apps to customers.

所以你可以继续瞄准 iOS7,Apple 会完成这项工作

N.