ideviceinstaller
ideviceinstaller copied to clipboard
ideviceinstaller -l & -i failed with "Could not connect to lockdownd. Exiting."
I met with "Could not connect to lockdownd. Exiting." when I used ideviceinstaller -l
or ideviceinstaller -i xxx.ipa
。
Environment
Mac OS : 10.15 iOS Devices:iPhone XR(13.0),iPhone Xs Max(12.3) Software:
- Xcode 11
- libimobiledevice & ideviceinstaller: build from the latest code in master branch
Description
$ ideviceinstaller -l Could not connect to lockdownd. Exiting. $ ideviceinstaller -d -l ... 11:34:04 idevice.c:387 internal_connection_receive_timeout(): ERROR: usbmuxd_recv_timeout returned -35 (Resource temporarily unavailable) ... idevice_info & idevicescreenshot works well.
P.S
for ideviceinstaller -l and -i command macos 10.14.5 & iPhone 7(iOS 12.1.3)works well macos 10.14.6 & iPhone 8(iOS 11.4.1)did not work macos 10.15 & iPhone 6(iOS 10.3.3)works well only if I execute 'sudo chmod -R 777 /var/db/lockdown/ '
I think maybe the new OS version of mac leads to the result。
难道不是因为手机没解锁?
难道不是因为手机没解锁?
从表现来说不可能。不至于蠢成这样来提issue……
I also met the issue: "Could not connect to lockdownd. Exiting." when I used " ideviceinstaller -l or ideviceinstaller -i xxx.ipa。"
Environment Mac OS : 10.15 iOS Devices:iPhone XR(13.2.3) Software:
Xcode 11 libimobiledevice & ideviceinstaller: build from the latest code in master branch Description $ ideviceinstaller -l
Could not connect to lockdownd. Exiting.
also got the same issue
same issue, Mac OS : 10.15.4 Is the suspect the reason for system version 10.15 or above?
I got ideviceinstaller -l to work on Mac 10.15.7. It's not pretty but here's what I had to do:
- Disable SIP (I found that when SIP is enabled, chmod doesn't work against /var/db/lockdown starting in 10.15.7).
- sudo rm -rf /var/db/lockdown
- sudo mkdir /var/db/lockdown
- sudo chmod -R 777 /var/db/lockdown
I got ideviceinstaller -l to work on Mac 10.15.7. It's not pretty but here's what I had to do:
- Disable SIP (I found that when SIP is enabled, chmod doesn't work against /var/db/lockdown starting in 10.15.7).
- sudo rm -rf /var/db/lockdown
- sudo mkdir /var/db/lockdown
- sudo chmod -R 777 /var/db/lockdown
I don't know what you are doing but seems like you're using a really old libimobiledevice build. You DO NOT have to disable SIP and you DO NOT have to do any chmod. It just talks to the usbmuxd that is already installed by default on macOS.
I'm running the latest libimobiledevice (v1.3.0). Good to know that this is not expected behavior. Maybe it's just something fluky with my setup. Unfortunately turning off SIP and chmod was the only way I could get rid of the lockdown error.