gpt4 book ai didi

ios - Xcode 7 当我禁用项目的位码时会发生什么?

转载 作者:行者123 更新时间:2023-11-29 10:25:05 24 4
gpt4 key购买 nike

我正在尝试了解为项目禁用位码的含义。据我了解,Apple 打算将其用于 future API 更改的一些幕后优化。但是,我使用的很多框架/Cocoapods 都不使用位码,所以我不得不禁用它。我应该尝试解决问题而不是仅仅禁用位码吗?发送启用了位码的二进制文件有什么优势?

对于使用 cocoapods 或其他第 3 方库的项目禁用位码有什么影响?

最佳答案

如果您禁用了它,主要是 Apple 不会在将来自动优化它。阅读以下 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.

Xcode hides symbols generated during build time by default, so they are not readable by Apple. Only if you choose to include symbols when uploading your app to iTunes Connect would the symbols be sent to Apple. You must include symbols to receive crash reports from Apple.

Note: For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode. For watchOS and tvOS apps, bitcode is required.

关于ios - Xcode 7 当我禁用项目的位码时会发生什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32830014/

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