解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题

升级了系统 命令行不能用了

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

解决方法,重装xcode command line:

xcode-select --install

还挺大的,cdn做的很好

High Sierra,终端里使用git的时候,弹出一行莫名其妙的错误:

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

解决方法,重装xcode command line:


链接:https://www.jianshu.com/p/50b6771eb853

原文地址:https://www.cnblogs.com/zongsir/p/10180742.html

时间: 2024-10-14 10:35:06

解决MacOS升级后出现xcrun: error: invalid active developer path, missing xcrun的问题的相关文章

Mac 执行git命令报错xcrun: error: invalid active developer path的解决办法

报错 git clone xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun C02M71L9F8J2:~ pub_pawf_autotest$ git clone http://git-ma.paic.com.cn/DINGXIANZHI795/a

解决问题 xcrun: error: invalid active developer path

文章转载自 码经笔记 [https://majing.io]  https://majing.io/posts/10000002011165 升级到macOS High Sierra后,执行git命令报错: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/x

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

mac报错: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun   场景: 使用goland  debug模式运行go代码main方法时,报以上错误,初步分析是xcode 组件缺失了 包括一些其他场景如运行git命令等也有可能出现此错误 解决方法:

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

今天更新了一下mac系统,然后发现  idea的svn插件不能用了,有的报 有的报  is not under version 经查找需要做如下处理,打开终端,安装xcode: xcode-select --install

【转】【Mac】invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library

异常原因 我在昨天升级了 macOX Sierra,悲剧的是,今天我发现git命令无法执行,homebrew也无法使用,这种情景我在升级OS X El Capitan也遇到过一次,完整异常提示如下: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 1 解决方法 解决方法很简

[MacOS] xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

When using MacOS with xcode6-beta, i always meet these error: xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change After googled, i found the solution. sudo xcode-se

Linux GRUB 引导Win 7 ---- error: invalid EFI file path

最近新买了个固态硬盘,先装了个Win 7系统,现在装的系统和以前装系统唯一的区别是引导不是以前的MBR,而是最新看似是个趋势的GPT+UEFI方式. win 7 装完啦,还是和以往的一样装 Ubantu (Ubantu 12.04),ubantu 引导磁盘扇区选择的是装win7是的那个引导磁盘(ESP分区的那个盘): ubantu 安装先是断网安装,安装到一半是抛出错误说GRUB 啥啥啥的错误,网上搜罗了一下说联网就没问题,照做啦联网后确实OK,就这样Ubantu安装一切顺利,安装完成后就发现进

mac git xcrun error active developer path 错误

一:情景: 在mac下使用git;xcode4.6的环境时,需要安装command line tools ,但是在装了xcode5之后,就不需要安装command line tools了,默认已经集成了:但是我先装了,xcode4.6后来又安装了xcode5也就是,我mac上安装了两个版本的xocde但是在终端下使用git时,出现了错误如下: 二:错误 xcrun: error: active developer path ("/Users/apple/Desktop/Xcode5.app/Co

xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

When using MacOS with xcode6.4, i always meet these error: xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change After googled, i found the solution. sudo xcode-selec