xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun-XMac.cc - 精品Mac软件下载站 优质苹果应用资源聚合

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

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

这个原因是因为没有安装 Command Line Tools,打开终端工具输入下面的安装命令安装Command Line Tools。

xcode-select --install

Command Line Tools 安装完成后就解决了。

推荐
留言

登录后发表留言

    暂无留言