Can’t use Subversion command line client: svn The path to the Subversion executable is probably wrong. Fix it.
看网上资料有说用命令xcode-select --install
,
我昨天更新MacOS系统到10.15、Xcode到11.5、Command Line Tools for Xcode到11.5,想着可能是因为版本原因。卸载重装xcode。
For more details, please visit https://support.apple.com/kb/HT208050.
localhost:~ mac$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
localhost:~ mac$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
localhost:~ mac$ xcode-select -v
xcode-select version 2373.
localhost:~ mac$ svn --version
svn: error: Failed to locate 'svn'.
svn: error: The subversion command line tools are no longer provided by Xcode.
localhost:~ mac$ sudo rm -rf /Library/Developer/CommandLineTools
Password:
localhost:~ mac$ xcode-select --install
xcode-select: note: install requested for command line developer tools
顺着默认流程安装完成后,可看到svn有版本信息了
再进入idea,输入svn的账号密码,能刷新repository了。问题解决。