ERROR- Could not connect to lockdownd

发布时间:2025-12-10 11:27:02 浏览次数:7

执行 ideviceinfo -u 和 ideviceinstall -l时,报错

ERROR: Could not connect to lockdownd

解决办法

  • 先断开所有连接PC的iOS设备
  • 执行
  • brew uninstall libimobiledevicebrew install --HEAD libimobiledevicebrew link --overwrite libimobiledevicebrew install --HEAD ideviceinstallerbrew link --overwrite ideviceinstallersudo rm -rf /var/db/lockdown/*
  • 重新插上iOS设备,待“是否信任计算机”窗口弹出,点击“信任”
  • 再执行 sudo chmod -R 777 /var/db/lockdown/
  • Reference

    https://github.com/libimobiledevice/ideviceinstaller/issues/48
    https://stackoverflow.com/a/48694852/7487335

    需要做网站?需要网络推广?欢迎咨询客户经理 13272073477