user2295884 user2295884 - 1 year ago 1301
iOS Question

ideviceinstaller fails with "Could not connect to lockdownd. Exiting."

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.

System paramereters:
MacBookPro with 10.11.5 OSX El Capitan
Target devices: iPhone 5, iPad 2

I have installed both Xcode 7.3.1 and Xcode 8 beta 3 on my computer. And used these commands to switch between them:

sudo xcode-select -switch /Applications/
sudo xcode-select -switch /Applications/

Answer Source

Meanwhile I found the answer. This command will add durable privileges to use ideviceinstaller:

sudo chmod -R 777 /var/db/lockdown/
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download