No receipt for 'com.apple.pkg.CL
作者:
revert | 来源:发表于
2020-12-05 17:17 被阅读0次
- 执行如下命令
/usr/sbin/pkgutil --packages | grep CLTools
如果没有返回值,说明缺少xcode相关工具包
- 依此执行如下命令
xcode-select --print-path
# in my case /Library/Developer/CommandLineTools
# the next line deletes the path returned by the command above
sudo rm -rf $(xcode-select --print-path)
# install them (again) if you don't get a default installation prompt
xcode-select --install
- 重新执行步骤一的命令,得出如下结果即可解决
com.apple.pkg.CLTools_Executables
com.apple.pkg.CLTools_SDK_macOS110
com.apple.pkg.CLTools_SDK_macOS1015
com.apple.pkg.CLTools_macOS_SDK
本文标题:No receipt for 'com.apple.pkg.CL
本文链接:https://www.haomeiwen.com/subject/nevgwktx.html
网友评论