解决升级macOS Mojave出现的xcrun: error问题

355 阅读1分钟

步骤

1、打开终端 运行

xcode-select --install

2.安装完成后再次输入一下两条命令

xcode-select --switch /Applications/Xcode.app

xcode-select --switch /Library/Developer/CommandLineTools

问题解决