2.1、进入 https://developer.apple.com/download/more/ 输入icloud账号密码 2.2、搜索下载command line tools(我是下载的第一个)
2.3、安装,使用。一切正常了