diff --git a/pages/osx/xcodebuild.md b/pages/osx/xcodebuild.md new file mode 100644 index 000000000..7cc2926ca --- /dev/null +++ b/pages/osx/xcodebuild.md @@ -0,0 +1,15 @@ +# 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`