MacOs No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.

第一步:

xcode-select --install

 

报错:

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

 

第二步:

sudo rm -rf /Library/Developer/CommandLineTools

  

再次执行

xcode-select --install

  

问题解决

posted on 2020-07-28 09:54  写最骚的代码  阅读(3027)  评论(0编辑  收藏  举报