mac安装command line tools

最近使用SVN发现不可用,svn: error: The subversion command line tools are no longer provided by Xcode.

联想到今早上提示更新command line tools,还以为command line tools移除了对SVN的支持。翻遍国内外网站

苹果的解释:Xcode移除SVN支持 ,但是可以通过xcode-select --install来安装SVN支持,但是可以xcode-select --install安装,但是执行此命令提示xcode-select: error: command line tools are already installed, use "Software Update" to install updates(来自:https://developer.apple.com/documentation/macos_release_notes/macos_catalina_10_15_release_notes)

 

解决方法:移除command line tools重新安装(来自 https://blog.csdn.net/qq_22073849/article/details/88849592

sudo rm -rf /Library/Developer/CommandLineTools

sudo xcode-select --install

whereis svn

把路径添加到IDE中

https://blog.csdn.net/xiefeifei316948714/article/details/42146207

posted on 2020-03-26 16:04  ${}  阅读(3176)  评论(0编辑  收藏  举报

导航