tldr/pages/osx/xctool.md

17 lines
489 B
Markdown
Raw Normal View History

# xctool
2015-08-19 11:11:49 +01:00
> Tool for building Xcode projects.
> More information: <https://github.com/facebook/xctool>.
2015-08-19 11:11:49 +01:00
- Build a single project without any workspace:
2015-08-19 11:11:49 +01:00
`xctool -project {{YourProject.xcodeproj}} -scheme {{YourScheme}} build`
2015-08-19 11:11:49 +01:00
- Build a project that is part of a workspace:
2015-08-20 05:59:07 +01:00
`xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} build`
- Clean, build and execute all the tests:
2015-08-19 11:11:49 +01:00
`xctool -workspace {{YourWorkspace.xcworkspace}} -scheme {{YourScheme}} clean build test`