在Mac系统连接ios设备时,会出现ERROR: Could not connect to lockdownd, error code -3等问题,出现这种问题,需要更新libimobiledevice和ideviceinstaller 最后授权一下即可。话不多说,直接开整
打开终端命令行
- brew uninstall ideviceinstaller -g
- brew uninstall libimobiledevice -g
- brew install --HEAD libimobiledevice -g
- brew install ideviceinstaller -g
- sudo chmod -R 777 /var/db/lockdown
按照以上步骤卸载之前的ideviceinstaller和libimobiledevice 重新安装并授权即可