最近使用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