ENABLE_BITCODE在xcode 7中做了什么? [英] What does ENABLE_BITCODE do in xcode 7?

查看:139
本文介绍了ENABLE_BITCODE在xcode 7中做了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有嵌入式bitcode术语的问题。

什么是嵌入式bitcode?

何时启用, ENABLE_BITCODE in new Xcode?

在Xcode 7中启用时,二进制文件会发生什么, ENABLE_BITCODE

I have problem with embedded bitcode term.
What is embedded bitcode?
When to enable, ENABLE_BITCODE in new Xcode?
What happens to the binary when enabled, ENABLE_BITCODE in Xcode 7 ?

推荐答案

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

Bitcode refers to to the type of code: "LLVM Bitcode" that is sent to iTunes Connect. This allows Apple to use certain calculations to re-optimize apps further (e.g: possibly downsize executable sizes). If Apple needs to alter your executable then they can do this without a new build being uploaded.

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

This differs from: Slicing which is the process of Apple optimizing your app for a user's device based on the device's resolution and architecture. Slicing does not require Bitcode. (Ex: only including @2x images on a 5s)

应用程序细化是切片,bitcode和按需资源的组合

App Thinning is the combination of slicing, bitcode, and on-demand resources


Bitcode是已编译程序的中间表示。您上传到包含bitcode的iTunes Connect的应用
将被编译,并且在App Store上链接
。包括bitcode将允许Apple在未来重新优化您的应用二进制文件
,而无需向商店提交
新版本的应用。

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文档应用细化

这篇关于ENABLE_BITCODE在xcode 7中做了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆