mac升级macos catalina之后,svn无法使用。
打开phpstorm则提示:
Can’t use Subversion command line client: svn
The path to the Subversion executable is probably wrong. Fix it.
命令行输入svn命令,提示:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
原因是升级之后,Xcode需要重新安装。
解决方法:
打开“终端”执行:xcode-select –install
安装完毕之后,恢复正常。