One - One Code All

Blog Content

Mac 使用git出现xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

Linux-Mac   2018-05-05 17:47:47

Mac使用git出现


xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun


解决方法


终端输入 : xcode-select --install


然后弹出一个图形界面进行下载 install command line develop tools,下载完成就可以用了。



上一篇:Mac安装rabbitmq和redis
下一篇:mac安装pycurl报错Curl is configured to use SSL

The minute you think of giving up, think of the reason why you held on so long.