报错解决——xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcr

通常在遇到这个问题的时候都是想用git或者svn,结果发现用不了并报错xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrungit

解决方法xcode

  从新安装xcodesvn

  命令:spa

xcode-select --install

看到图片code

安装完成后就okblog