今天升级macOS Mojave,使用git的时候报错 12 ~ git --versionxcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 解决方法,重装xcode command line: 1 xcode-select --install 如果没有解决,执行一下命令 1 sudo xcode-select -switch 赞微海报分享
近期评论