ideviceinstaller icon indicating copy to clipboard operation
ideviceinstaller copied to clipboard

ideviceinstaller fails with "Could not connect to lockdownd. Exiting. Xcode 9 , iOS 11 device

Open SatishKumarKV opened this issue 8 years ago • 3 comments

When I try to use ideviceinstaller, the command fails with the following error message: "Could not connect to lockdownd. Exiting."

Example commands: ideviceinstaller -l ideviceinstaller -i Something.ipa

I have googled more than an hour to find the solution, however nothing worked for me:

Reinstall ideviceinstaller Reinstall libimobiledevice Reinstall brew and reinstall again both ideviceinstaller, libimobiledevice It works only if I use sudo but it's unfortunately not acceptable in my case.

SatishKumarKV avatar Jul 17 '17 10:07 SatishKumarKV

Facing same issue. "ideviceinstaller -l" command fails with error "Could not connect to lockdownd. Exiting."

Tried @nikias solution from the below links, where "idevicescreenshot" and "ideviceinfo" commands works fine for iOS 11 device, but fails with "ideviceinstaller -l".

https://github.com/libimobiledevice/libimobiledevice/issues/510 https://gist.github.com/nikias/b351bf633d62703e0ff4f2fee9628401

Could you please share us any steps to resolve the same.

Vigneshh avatar Jul 18 '17 07:07 Vigneshh

I have no problems with "ideviceinstaller -l" after the fix of @nikias. You could try to compile ideviceinstaller yourself. It should build something that works. I would say your ideviceinstaller is not using the libimobiledevice.dylib with he fix. Make sure the new libimobiledvice.dylib is placed in usr/local/lib.

JonGabilondoAngulo avatar Jul 31 '17 14:07 JonGabilondoAngulo

I have the same issue, I compiled libimobiledevice and ideviceinstaller. It doesn't even work with sudo

I don't have libimobiledevice.dylib

/usr/local/lib/ contents:


-rw-r--r--  1 root root 1031624 Nov 11 16:52 libimobiledevice.a
-rwxr-xr-x  1 root root    1029 Nov 11 16:52 libimobiledevice.la
lrwxrwxrwx  1 root root      25 Nov 11 16:52 libimobiledevice.so -> libimobiledevice.so.6.0.0
lrwxrwxrwx  1 root root      25 Nov 11 16:52 libimobiledevice.so.6 -> libimobiledevice.so.6.0.0
-rwxr-xr-x  1 root root  690224 Nov 11 16:52 libimobiledevice.so.6.0.0
drwxr-xr-x  2 root root    4096 Nov 11 16:52 pkgconfig

Inside pkgconfig: -rw-r--r-- 1 root root 356 Nov 11 16:52 libimobiledevice-1.0.pc

Edit: I'm on Linux

gabrc52 avatar Nov 14 '17 18:11 gabrc52