【发布时间】:2021-08-11 11:34:27
【问题描述】:
为什么xcodebuild 为scheme 和target 选项构建相同的应用程序?
xcodebuild -target uConnect build以上命令在 build 文件夹中使用 Release config 构建 项目。
xcodebuild -scheme uConnect build在 Xcode 的 DrivedData 文件夹中使用 Debug 配置进行构建。
想了解 -target 和 -scheme 选项在这里有何不同?
据我了解,由于我们在 Project>>Info>Configuration 中选择了 Release,因此应该始终以 Release 模式构建应用程序
使用
Release进行命令行构建
参考:
【问题讨论】:
标签: ios xcode build-tools