用brew install ideviceinstaller安装ideviceinstaller的时候遇到如下问题
看到问题出在无法从https://git.sukimashita.com/ideviceinstaller.git克隆代码下来,发现这个代码仓用电脑打不开,而github中https://github.com/libimobiledevice/ideviceinstaller.git是可以打开并克隆的,找了半天指定克隆源的方法,结果直接执行错误中提到的命令
git clone --branch master -c advice.detachedHead=false https://github.com/libimobiledevice/ideviceinstaller.git /Users/admin/Library/Caches/Homebrew/ideviceinstaller--git
将https://git.sukimashita.com/ideviceinstaller.git换成https://github.com/libimobiledevice/ideviceinstaller.git ,然后重新执行brew install就成功啦