今天内存吃没了不知道什么原因 直接删除 文件夹 xcode 直接挂了 误删文件 git 不能使用
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/var/xcrun
解决方法
xcode-select --install
回车后,系统弹出下载xcode,点击确认,下载完成后即可。下载xcode,可能下载xcode有关插件,下载时长约5分钟
出现这个错误原因猜想可能是因为之前安装过xcode卸载后出现的。