Qt Creator 报错 xcrun: error: invalid active developer path

/ 0评 / 0

Mac Qt Creator 报错如下:

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

原因是升级了系统,需要重新安装一下xcode,打开terminal,输入:

xcode-select --install

名言语句:取法于上,仅得为中;取法于中,故为其下。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注