forked from qiubaiying/qiubaiying.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f00de3
commit 0e6f839
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |