其实并不需要下载安装整个Xcode 只需要安装Xcode Command Line Tools;
打开终端输入
1. xcode-select --install # 单独安装CommandLineTools,不需要Xcode,回车
2.sudo xcode-select --switch /Library/Developer/CommandLineTools # 指定路径
其实并不需要下载安装整个Xcode 只需要安装Xcode Command Line Tools;
打开终端输入
1. xcode-select --install # 单独安装CommandLineTools,不需要Xcode,回车
2.sudo xcode-select --switch /Library/Developer/CommandLineTools # 指定路径