macbook pro m1 pro下运行git报错

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

按照提示,安装 xcrun 即可

在命令行输入

xcode-select --install

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

选择安装即可。也可以直接安装 xcode,然后进行相关设置。

相关文章:

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