1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/osx/xctool.md

17 lines
471 B
Markdown
Raw Normal View History

2019-03-19 17:09:33 +08:00
# xctool
> 用于构建 Xcode 项目的工具。
> 更多信息:<https://github.com/facebook/xctool>.
2019-03-19 17:09:33 +08:00
- 在没有任何工作区的情况下生成单个项目:
2019-03-19 17:09:33 +08:00
`xctool -project {{你的项目.名称}} -scheme {{方案}} build`
- 构建属于工作区的项目:
2019-03-19 17:09:33 +08:00
`xctool -workspace {{你的工作区.名字}} -scheme {{方案}} build`
- 清理、构建和执行所有测试:
2019-03-19 17:09:33 +08:00
`xctool -workspace {{你的工作区.名字}} -scheme {{方案}} clean build test`