XCode 13 警告:不推荐以手动顺序构建目标 - 检查“命令行构建的并行化构建”,但不存在这样的 UI 选项?

spa*_*ygw 16 xcode xcodebuild macos-big-sur xcode13

我在 Big Sur 中使用 Xcode 13 从命令行构建了一个产品,xcodebuild并生成此警告:

warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
Run Code Online (Sandbox Code Playgroud)

文档说:

在此输入图像描述

但是,我找不到这样的选项:

在此输入图像描述

Vad*_*aev 11

在 Xcode 13 中,“Parallelize Build”复选框被两个单选按钮替换:“Dependency Order”(与选中的旧复选框相同)和“Manual Order”(与未选中的旧复选框相同)。

我认为这是一个很好的改变,因为该复选框没有清楚地说明未选中时会发生什么。

在您的屏幕截图中,已经选择了“依赖顺序”,因此您应该可以开始了。


小智 5

此设置位于Project -> Configurations

在此输入图像描述