Xcode 在准备存档时花费太多时间来编译位代码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/37186667/
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:48:45  来源:igfitidea点击:

Xcode takes too much time for compile bit code at time of preparing archive

xcodebuildbitcode

提问by Nand Parikh

I am trying to make archive but xcode get stuck at time of compile bitcode. what i have to do? Enable bitcode or disable?

我正在尝试制作存档,但 xcode 在编译 bitcode 时卡住了。我该怎么办?启用位码还是禁用?

回答by Vinod Mahale

I have a better solution for this problem. Don't go for the export option tomato iPA, try out as mentioned below:

对于这个问题,我有一个更好的解决方案。不要选择出口选项番茄 iPA,请尝试如下所述:

  1. Right click your Archive and select "Show" in Finder
  2. Then again right click on the resulted file in Finder and select "Show Package Contents"
  3. Then from the result open the product folder --> Application folder --> and select the ".app" file
  4. Then simply add this .app file under apps of iTunes software on Mac
  5. After completing the adding process right click on the app icon in iTunes and show in Finder, which will give you the iPA file.
  1. 右键单击您的档案,然后在 Finder 中选择“显示”
  2. 然后再次右键单击 Finder 中的结果文件并选择“显示包内容”
  3. 然后从结果中打开产品文件夹 --> 应用程序文件夹 --> 并选择“.app”文件
  4. 然后只需在 Mac 上的 iTunes 软件的应用程序下添加这个 .app 文件
  5. 完成添加过程后,右键单击 iTunes 中的应用程序图标并显示在 Finder 中,这将为您提供 iPA 文件。

回答by Ourang-Zeb Khan

I was facing the same problem. What my suggestion is just enable this check mark when export for iOS App Store Deployment. If you are exporting an adhoc build then do uncheck it. It will work fast.

我面临着同样的问题。我的建议是在导出 iOS App Store 部署时启用此复选标记。如果您要导出临时构建,请取消选中它。它会很快工作。

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

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

enter image description here

在此处输入图片说明