From 0e6f839ba97279e26647d50afe1d9f08329d766e Mon Sep 17 00:00:00 2001 From: BY Date: Tue, 8 May 2018 17:58:02 +0800 Subject: [PATCH] Add post --- ...44\350\241\214\345\267\245\345\205\267.md" | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 "_posts/2018-05-05-\345\210\207\346\215\242Xcode\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" diff --git "a/_posts/2018-05-05-\345\210\207\346\215\242Xcode\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" "b/_posts/2018-05-05-\345\210\207\346\215\242Xcode\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" new file mode 100644 index 00000000000..52309281d40 --- /dev/null +++ "b/_posts/2018-05-05-\345\210\207\346\215\242Xcode\345\221\275\344\273\244\350\241\214\345\267\245\345\205\267.md" @@ -0,0 +1,28 @@ +--- +layout: post +title: 切换Xcode命令行工具 +subtitle: 简单的Xcode命令行工具切换笔记 +date: 2018-01-04 +author: BY +header-img: img/post-bg-BJJ.jpg +catalog: true +tags: + - Xcode + - iOS +--- + +## 安装 + + xcode-select --install + +![](https://upload-images.jianshu.io/upload_images/545662-f9031dfcce085f8f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/459) + +## Xcode版本切换 + +### 显示当前使用的xocde版本 + + $ xcode-select --print-path + +### 选择Xcode中的默认版本 + + $ sudo xcode-select -switch /Applications/Xcode.app \ No newline at end of file