您的位置:首页 > 运维架构

mac osx up brew xcrun: error: invalid active developer path

2017-12-11 19:37 507 查看
Q:

[root@localhost ~]$ brew install git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools),
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: Failure while executing: git config --local --replace-all homebrew.private true


A:

xcode-select --install


Then, continue:

sudo xcode-select -switch /
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐