brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
在输入flutter doctor 检查下
(若提示找不到该命令看文章:https://www.jianshu.com/writer#/notebooks/37996287/notes/49378192)