tldr/pages/osx/xcodebuild.md

16 lines
380 B
Markdown

# xcodebuild
> Build Xcode projects.
- Build workspace:
`xcodebuild -workspace {{workspace_name.workspace}} -scheme {{scheme_name}} -configuration {{configuration_name}} clean build SYMROOT={{SYMROOT_path}}`
- Build project:
`xcodebuild -target {{target_name}} -configuration {{configuration_name}} clean build SYMROOT={{SYMROOT_path}}`
- Show SDKs:
`xcodebuild -showsdks`