From 04f25d3684b48b6d50d6ca95e6c9e72ba960450d Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Sun, 21 Aug 2016 11:59:23 +0100 Subject: [PATCH] xcodebuild.md: add page (#1008) * Create xcodebuild.md xcodebuild * xcodebuild.md: shorten page * xcodebuild.md: use token formatting * xcodebuild.md: remove xcrun command * xcodebuild.md: fix linting and reword some descriptions * xcodebuild: change tokens to match the guidelines * xcodebuild: remove unclear part the first example's description --- pages/osx/xcodebuild.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/osx/xcodebuild.md diff --git a/pages/osx/xcodebuild.md b/pages/osx/xcodebuild.md new file mode 100644 index 0000000000..7cc2926caf --- /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`