MacOs 升级到11大版本,首先使用homebrew出了问题。
首先碰到是brew用不了的问题,rb脚本里报了个版本不支持的错误,解决方案
brew update-reset
然后安装一个别的工具libimobiledevice报错
brew install --HEAD libimobiledevice
Error: Your Command Line Tools (CLT) does not support macOS 11.
It is either outdated or was modified.
Please update your Command Line Tools (CLT) or delete it if no updates are available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/more/.
You should download the Command Line Tools for Xcode 12.5.
报错信息里给了3个方案,softwareupdate,不行,没有更新。删除CLT重新安装,成功了。