ios - ENABLE_BITCODE 在 xcode 7 中做了什么?

标签 ios iphone xcode7 bitcode

我对嵌入的位码术语有疑问。
什么是嵌入式位码?
什么时候启用,ENABLE_BITCODE 在新的 Xcode 中?
在 Xcode 7 中启用 ENABLE_BITCODE 时二进制文件会发生什么?

最佳答案

Bitcode 是指发送到 iTunes Connect 的代码类型:“LLVM Bitcode”。这允许 Apple 使用某些计算来进一步重新优化应用程序(例如:可能缩小可执行文件的大小)。如果 Apple 需要更改您的可执行文件,那么他们可以在不上传新版本的情况下执行此操作。

这不同于: 切片,这是 Apple 根据设备的分辨率和架构为用户设备优化您的应用程序的过程。切片不需要 Bitcode。 (例如:仅在 5s 上包含 @2x 图像)

App Thinning是切片、bitcode、按需资源的结合

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.

Apple Documentation on App Thinning

关于ios - ENABLE_BITCODE 在 xcode 7 中做了什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30722606/

相关文章:

ios - 加载表单演示文稿的模态视图的自定义大小

ios - Objective-c 每 23 个字符换行一次而不断词

ios - 在 iOS 设置中显示自定义应用存储信息

iphone - 找不到 AVFoundation/AVFoundation.h 文件

ios - 缓慢的场景转换

cocoapods - 使用 Xcode 7 和 cocoapods 的 DBAccess 链接器警告和错误

ios - 未调用 messageComposeViewController didFinishWithResult 委托(delegate)方法

iphone - iOS 6 View 旋转问题

iphone - 使用 CoreBluetooth 框架

ios - Xcode 7 为 SVN ios 项目创建一个分支