把Mac升级到了macOS High Sierra,发现终端下git用不了了:

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

直接重新安装xcode解决:

xcode-select –install

git: missing xcrun

相关文章:

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