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