It has been 1231 days since the last update, the content of the article may be outdated.

安装

xcode-select --install

Xcode版本切换

显示当前使用的xocde版本

$ xcode-select --print-path

选择Xcode中的默认版本

$ sudo xcode-select -switch /Applications/Xcode.app