Can’t use Subversion command line client: svn The path to the Subversion executable is probably wrong. Fix it.

看网上资料有说用命令xcode-select --install,
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-16KI3GAH-1590979703734)(/Users/mac/Documents/csdn草稿/随笔/image-20200601092641874.png)]](https://i-blog.csdnimg.cn/blog_migrate/27c11a53e3975ecdb1afe33ab7a021ac.png)
我昨天更新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有版本信息了
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-zYaGm7Kb-1590979703736)(/Users/mac/Documents/csdn草稿/随笔/image-20200601104438870.png)]](https://i-blog.csdnimg.cn/blog_migrate/35b3b6471d4c97c4bca35eee1d057874.png)
再进入idea,输入svn的账号密码,能刷新repository了。问题解决。
在更新MacOS、Xcode及Command Line Tools后,IntelliJ IDEA提示无法使用Subversion命令行客户端。通过卸载并重新安装Xcode,问题得到解决,现在能够正常刷新SVN仓库。
2087

被折叠的 条评论
为什么被折叠?



