今天升级mac系统到macOS mojave后,在终端操作gitlab时遇到一行莫名其妙的错误:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

  通过google,查找到以下解决方法:

xcode-select --install

  然后重新打开终端就可以了

相关文章:

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