Skip to content

Commit 0e6f839

Browse files
committed
Add post
1 parent 7f00de3 commit 0e6f839

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: post
3+
title: 切换Xcode命令行工具
4+
subtitle: 简单的Xcode命令行工具切换笔记
5+
date: 2018-01-04
6+
author: BY
7+
header-img: img/post-bg-BJJ.jpg
8+
catalog: true
9+
tags:
10+
- Xcode
11+
- iOS
12+
---
13+
14+
## 安装
15+
16+
xcode-select --install
17+
18+
![](https://upload-images.jianshu.io/upload_images/545662-f9031dfcce085f8f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/459)
19+
20+
## Xcode版本切换
21+
22+
### 显示当前使用的xocde版本
23+
24+
$ xcode-select --print-path
25+
26+
### 选择Xcode中的默认版本
27+
28+
$ sudo xcode-select -switch /Applications/Xcode.app

0 commit comments

Comments
 (0)