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

名言语句:芝兰生于深林,不以无人而不芳;君子修道立德,不为穷困而改节。

发表回复

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