mac执行git报错:git xcrun: error: invalid active developer path

管理员 Linuxmac执行git报错:git xcrun: error: invalid active developer path已关闭评论25,20412字数 225阅读0分45秒阅读模式

mac升级到10.12(macOS Sierra),执行git命令,出现如下错误

$ git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决方法文章源自运维生存时间-https://www.ttlsa.com/linux/mac-git-xcrun-error-invalid-active-developer-path/

xcode-select --install

弹出一个界面,安装提示安装即可。文章源自运维生存时间-https://www.ttlsa.com/linux/mac-git-xcrun-error-invalid-active-developer-path/ 文章源自运维生存时间-https://www.ttlsa.com/linux/mac-git-xcrun-error-invalid-active-developer-path/

weinxin
我的微信
微信公众号
扫一扫关注运维生存时间公众号,获取最新技术文章~
管理员
  • 本文由 发表于 11/10/2016 14:22:45
  • 转载请务必保留本文链接:https://www.ttlsa.com/linux/mac-git-xcrun-error-invalid-active-developer-path/