Mac电脑 操作问题总结(持续更新)

2019-09-26  本文已影响0人  光之盐汽水

1、运行命令行报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:/Library/Developer/CommandLineTools/usr/bin/xcrun

原因:初步分析是xcode 组件缺失了(command line tools 工具没有了)。
解决方法:
打开终端,运行以下命令,安装xcode组件即可。

xcode-select --install
上一篇 下一篇

猜你喜欢

热点阅读