-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ERROR: Could not connect to lockdownd, error code -8 #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you running with sudo? |
No, should I be? |
I get this error if I plug the iphone into a new computer and don't click the 'allow' button on the phone screen, fwiw. |
@markshep has this solution resolved for you? I am having similar error message |
I'm seeing this behaviour, with and without sudo, on some devices.
|
I'm experiencing this error message when trying to run the tools with a device that's running iOS 11 Beta 6. Does this tool not yet support iOS 11? |
@nikias So, if this has been resolved why is the issue still marked as open? |
It's an old issue and it was obvious that it was a problem with usbmuxd. I didn't bother closing. But maybe now is the time. |
I'm writing a system to run on OSX which manages deploying app builds to iOS devices. This uses a combination of tools from libmobiledevice and ios-deploy. I'm getting an issue where iOS devices seem to get into a bad state. One symptom is the above error message when trying to use "ideviceinfo" and another is that deploying an app using either "ios-deploy" or Xcode never completes.
If I unplug and replug the device the error from "ideviceinfo" goes away and that tool then works fine. However that doesn't fix the problem with deployment - any attempt to do so hangs and the -8 error with "ideviceinfo" comes back. So it looks like the problem may not be with libimobiledevice itself, but as the only information I've got to go on is that error message this seems like the place to start!
Looking in the source the -8 code is LOCKDOWN_E_MUX_ERROR. Undefining STRIP_DEBUG_CODE in config.h, rebuilding and running with "-d" gives the following:
This is using the latest source in the "master" branch (commit f268393).
Any suggestions as to what I should look at next to try and track down the exact cause of this problem?
The text was updated successfully, but these errors were encountered: