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,下载完成就可以用了。



上一篇:Redis报错:redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snap
下一篇:mac中R语言启动出现Warning messages:using a non-UTF8 locale

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