Browse Source

xcodebuild: add Chinese translation

wizarot 6 years ago
parent
commit
26910e84b0
1 changed files with 15 additions and 0 deletions
  1. 15 0
      pages.zh/osx/xcodebuild.md

+ 15 - 0
pages.zh/osx/xcodebuild.md

@@ -0,0 +1,15 @@
+# xcodebuild
+
+> 构建Xcode项目.
+
+- 构建工作区:
+
+`xcodebuild -workspace {{工作区名.工作区}} -scheme {{主题名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
+
+- 构建项目:
+
+`xcodebuild -target {{目标名}} -configuration {{配置名}} clean build SYMROOT={{SYMROOT_路径}}`
+
+- 显示 SDK:
+
+`xcodebuild -showsdks`