终端cd到flutter项目目录下 重装下 ideviceinstaller libimobiledevice然后给权限。
brew uninstall ideviceinstaller -g
brew uninstall libimobiledevice -g
brew install --HEAD libimobiledevice -g
brew install ideviceinstaller -g
sudo chmod -R 777 /var/db/lockdown
运行brew install --HEAD libimobiledevice命令后终端中可能会报To install HEAD_3, first run `brew unlink libimobiledevice`
那就先运行下brew unlink libimobiledevice