问题发现

安装mysql发现问题
MAC下homebrew出现xcrun: error: invalid active developer path

问题分析

执行brew doctor检查原因
MAC下homebrew出现xcrun: error: invalid active developer path

按照指示执行git -C命令,发现问题不在于此
MAC下homebrew出现xcrun: error: invalid active developer path

接着执行xcode-select –install,安装xcode-select命令行工具(Command Line Tools),重新执行brew doctor:
MAC下homebrew出现xcrun: error: invalid active developer path

问题解决

重新执行brew install mysql ,问题解决:
MAC下homebrew出现xcrun: error: invalid active developer path

在网上看到很多执行git命令时也有这样的情况,以后也需要注意。

相关文章:

  • 2021-11-01
  • 2021-08-12
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-12
  • 2022-12-23
  • 2021-06-01
  • 2021-10-31
  • 2021-04-01
  • 2021-08-30
相关资源
相似解决方案