gpt4 book ai didi

ios - App Thinning - Bitcode 的例子?

转载 作者:行者123 更新时间:2023-11-29 12:13:47 24 4
gpt4 key购买 nike

iOS 9 通过三种方式引入了 App Thinning:

  1. 应用切片

  2. 按需资源

  3. Bit Code:iOS App 的一种插件

我可以看到 1.2. 的教程和示例代码,但找不到 Bitcode 的详细信息。

最佳答案

Apple Documentation关于这一点(与其他两个相比相当短):

Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the App Store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.

引用 Arstechnica进一步解释:

The final piece of the puzzle is something Apple calls "Bitcode." When developers upload apps to the App Store, they'll no longer be submitting pre-compiled binaries, but an "intermediate representation" of those apps that is compiled on demand depending on the device you're downloading it to. This enables some of the App Slicing functionality—it determines whether your device downloads a 32-bit or 64-bit binary.

它由 Project > Build Settings > Build Options > Enable bitcode 中的 ENABLE_BITCODE 激活。

关于ios - App Thinning - Bitcode 的例子?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32502416/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com