1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:42:12 +02:00
tldr/pages.zh/osx/xcodebuild.md
2019-11-02 17:47:23 +00:00

15 lines
359 B
Markdown

# xcodebuild
> 构建 Xcode 项目.
- 构建工作区:
`xcodebuild -workspace {{工作区名.工作区}} -scheme {{主题名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
- 构建项目:
`xcodebuild -target {{目标名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
- 显示 SDK:
`xcodebuild -showsdks`