一起学习网 一起学习网

xcrun: error: invalid active developer path (/Library/Developer/CommandLineT

苹果电脑mac pro

使用SVN时报错:

问题描述:
<code>xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
</code>

Mac的svn是自己带的,自己去Apple Developer下载
Command Line Tools(macOS 10.12)独立安装包https://developer.apple.com/download/more/

image.png

安装完成就可以使用了。