xcode - XCode 13 警告:不推荐以手动顺序构建目标 - 检查“为命令行构建并行构建”但不存在这样的 UI 选项?
问题描述
我在 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
文档说:
但是,我找不到这样的选项:
解决方案
在 Xcode 13 中,“Parallelize Build”复选框被两个单选按钮取代:“Dependency Order”(与选中的旧复选框相同)和“Manual Order”(与未选中的旧复选框相同)。
我认为这是一个很好的改变,因为复选框并没有清楚地说明未选中时会发生什么。
在您的屏幕截图中,“依赖顺序”已经被选中,所以您应该可以开始了。
推荐阅读
- docker - Docker 使用主机的 DNS,而不是 /etc/resolv.conf 中提到的 DNS
- r - 如何在R中拆分字符串并保存为数据框?
- api - EC2 安全组上的安全前端 React 和后端 API 不起作用
- database - 数据框与表格
- java - com.microsoft.sqlserver.jdbc.SQLServerException:在获取结果集的值时连接已关闭
- android-studio - 如何删除我在 Android Studio 中意外创建的新模块?Git 无法恢复它的状态
- reactjs - 在 Reactjs 中通过 axios 取消我的 POST 请求
- python - 保存 .wav 文件时出现随机系统错误
- reactjs - Table - Ant Design - 在 Virtual table ant 设计中实现过滤器
- c++ - RC6 实施给出了不希望的结果