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

  

问题解决

猜你喜欢

转载自www.cnblogs.com/coolestcode/p/13389408.html
今日推荐