Mac升级问题
问题1
Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
Error: An exception occurred within a child process:
SystemExit: exit
解决方法
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
问题2
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools
解决Mac升级时遇到的CommandLineTools和Homebrew问题

文章讲述了在Mac系统升级过程中遇到的三个问题及解决方案。问题1和2都涉及到CommandLineTools的过时或缺失,解决方法是删除现有工具并重新安装。问题3是由于使用了macOS的预发布版本,导致某些formulae构建失败,Homebrew建议用户创建拉取请求并在遇到问题时自行解决。
最低0.47元/天 解锁文章
2830

被折叠的 条评论
为什么被折叠?



