首页 > Web开发 > 详细

Idea 提示xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

时间:2018-12-28 19:05:03      阅读:461      评论:0      收藏:0      [点我收藏+]

背景:macOs High Sierra 升级 macOs Mojave后,idea 报错,Terminal git也不行:

Сannot Run Git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

处理:

  1、 xcode-select --install

        如提示:xcode-select: error: command line tools are already installed, use "Software Update" to install updates 证明安装成功

      2、安装完成后,Terminal里的git可以正常运行了,IDEA里还是同样的报错,将Git配置栏里的/usr/bin/git改为git,搞定

技术分享图片

 

Idea 提示xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

原文:https://www.cnblogs.com/start-fxw/p/10192226.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!