libimobiledevice / ideviceinstaller

Manage apps of iOS devices
https://libimobiledevice.org
GNU General Public License v2.0
1.23k stars 256 forks source link

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

Open SatishKumarKV opened 7 years ago

SatishKumarKV commented 7 years ago

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.

Vigneshh commented 7 years ago

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.

JonGabilondoAngulo commented 7 years ago

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.

gabrc52 commented 6 years ago

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