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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM