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

原因:


因为我昨天更新了mac系统,可以看到xcode已经丢失了?

解决方法

那就重新装一遍xcode的命令行工具

xcode-select --install
posted @ 2022-09-25 16:02  裏表異体  阅读(48)  评论(0编辑  收藏  举报