xcode 在提交应用程序之前启用位码与包含位码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34337343/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:20:05  来源:igfitidea点击:

Enable bitcode vs include bitcode before submitting app

iosxcodebitcode

提问by allaire

What's the difference between the "Enable Bitcode"setting in the app's target & project and the "Include Bitcode"checkbox that is present before submitting to App Store?

应用程序的目标和项目中的“启用位码”设置与提交到 App Store 之前存在的“包含位码”复选框之间有什么区别?

If I have "Enable Bitcode" FALSE and have "Include Bitcode" checked, what happens? If I have "Enable Bitcode" TRUE and have "Include Bitcode" unchecked, what happens?

如果我将“Enable Bitcode”设置为 FALSE 并选中“Include Bitcode”,会发生什么?如果我将“Enable Bitcode”设置为 TRUE 并且取消选中“Include Bitcode”,会发生什么?

I saw other questions asking only what "Enable Bitcode" does, but mine ask the difference with this setting and the "Include Bitcode" setting just before submitting the app to the App Store.

我看到其他问题只询问“启用位码”的作用,但我在将应用程序提交到 App Store 之前询问此设置和“包含位码”设置的区别。

Thanks

谢谢

采纳答案by TwoStraws

As you might imagine, you need both enabled in order to have your app support Bitcode recompilation in iTunes Connect. Just enabling it in Xcode simply means the Bitcode "architecture" is compiled, it doesn't necessarily mean that's sent to Apple.

正如您想象的那样,您需要同时启用这两项功能,才能让您的应用程序支持 iTunes Connect 中的 Bitcode 重新编译。仅在 Xcode 中启用它仅意味着编译了 Bitcode“架构”,并不一定意味着将其发送给 Apple。

Advance warning: I've done some tests on app submission with and without Bitcode, and for whatever reason submitting withBitcode substantially slows down the time it takes for your binary to be processed so that it's ready for submission. Without Bitcode it can appear in a few minutes or up to maybe three hours; with Bitcode I've frequently had delays of 24 hours or more.

预先警告:我已经对使用和不使用 Bitcode 的应用程序提交进行了一些测试,无论出于何种原因,使用Bitcode提交都会大大减慢处理二进制文件所需的时间,以便准备好提交。如果没有 Bitcode,它可能会在几分钟或最多三个小时内出现;使用 Bitcode 我经常有 24 小时或更长时间的延迟。

回答by Steve Reynolds

If bitcode is disabled for your target and all pods, the include bitcode checkbox will vanish from the dialog of upload to app store.

如果您的目标和所有 pod 禁用了 bitcode,包含 bitcode 复选框将从上传到应用商店的对话框中消失。