首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    解决mac升级10.11后,出现的 xcrun: error: invalid active developer path, missing xcrun 错误

    前天把小mac升级到了10.11,结果今天在终端里使用git的时候,弹出一行莫名其妙的错误:xcrun: error: invalid active developer path (/Library/Developer.../CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun。...去google了一圈,找到了一个github上homebrew issues里很老的帖子,按着里面说的,重装了一下xcode command line,结果就正常了…… xcode-select --install...不过看帖子里并不是所有人重装都能解决问题,有些人似乎还要手动切换下xcode的路径才能解决。...问题解决后,我又去各处翻了下问题出现的原因,可惜没有找到。个人推断可能是因为git所需的lib关联到了command line tools,升级时改动了lib的路径所致吧。

    1.5K00

    iMac(OS X)El Capitan 更新遇到的那些坑

    错误现象: 在执行brew或者git相关的命令时,出现如下报错: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools...), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcrun: error: invalid active developer...path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr...再次直接附上解决方案: 直接在终端输入: xcode-select --install 系统弹框提示安装命令行开发者工具,如下图 ? 点击安装。一般安装过程需要1分钟左右。...这个问题没有仔细研究,不知道是因为换了路径(可能性太小了)。还是没有内置。反正手头有1.7,就直接更新了。这里的处理方法很简单,安装jdk即可。

    1K60

    MacOS 下安装MySQL失败解决方案

    刚开始失败原因是因为brew用的默认源,而默认源在海外经常下载超时所以需要替换国内镜像解决,我目前用的是腾讯云的国内镜像替换方法见《如何加速常用的包管理工具》。...以下是升级MacOS后,通过brew安装MySQL@5.7报的错误。 # brew install mysql@5.7 会报以下错误 image.png 错误信息文本,见已下。...Error: Your CLT does not support macOS 11.0. It is either outdated or was modified....应该是我最近升级系统导致的,我的系统目前用用的是苹果最新发行版本,环境如下。 image.png 解决方案 首先安装xcode最新版本,可以通过app store安装。...sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install 最终效果,成功安装MySQL5.7版本 image.png

    5.7K90

    安装gitbook脱坑笔记-实测有效

    安装gitbook脱坑笔记-实测有效 gitbook -V 安装过程报错 报错1 xcode-select: error: tool 'xcodebuild' requires Xcode, but active...developer directory '/Library/Developer/CommandLineTools' is a command line tools instance 解决方案: sudo...xcode-select --switch /Applications/Xcode.app/Contents/Developer/ 切换到当前Xcode路径下 xcodebuild -showsdks...xcrun --sdk iphoneos --show-sdk-path 报错2 由于不支持高版本的nodeJS,所以我们需要Nodejs进行降级处理 解决方案: brew install node@...总结 本篇文章结合网上的文章和自身实践,安装过程中为了提高安装速度,我换了brew的源。gitbook的安装花了我5个小时吧,故将此经验共享出来。另外,安装过程有点慢,需要耐心等待!

    1.5K10
    领券