很多人的解决办法是安装xcode,但并非每个人都想安装这么大的一个文件。
解决办法:
- 删除已经安装的CommandLineTools
$ sudo rm -rf $(xcode-select -p)
2.重新安装
$ sudo xcode-select --install
同意条款选择同意,会提示系统更新一并同意。
很多人的解决办法是安装xcode,但并非每个人都想安装这么大的一个文件。
解决办法:
$ sudo rm -rf $(xcode-select -p)
2.重新安装
$ sudo xcode-select --install
同意条款选择同意,会提示系统更新一并同意。