问题解决|xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
报错系统:MacOS
报错场景:mac维修时间机器恢复后更新oh-my-zsh报错;使用git报错
报错内容:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
解决方法:
1.重装(使用该方法解决)
xcode-select --install
2.切换路径
sudo xcode-select -switch /Applications/Xcode.app/Contents/Develop
原创
2021-05-07 22:04:14 ·
310 阅读 ·
0 评论