Mac 出现 missing xcrun 错误
24 Feb 2017升级到 macOS Sierra 10.12.3 后,在更新 oh my zsh 时出现下面错误提示
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法
重装下xcode command line
在命令行中执行以下代码
xcode-select --install
然后会弹出窗口让你安装,安装完就ok了