Search code examples
c#ios.netlibimobiledevice

ideviceinfo.exe returns Lockdownd Error Code -2


i have a project that is actually working with the libimobiledevice library that is executed by the ideviceinfo.exe binaries for windows. I have been using it for quite some time now and it works from iPhone 6 to iPhone X.

However, with the emergence of iPhone XS, XR, and XS Max - it stopped working and returned me with an error: ERROR: Could not connect to lockdownd, error code -2. I tried updating my iTunes and downloading latest version of the executable package from multiple GitHub Sources such as this, this, and this.

I also searched google for errors concerning Lockdownd -2 but all i see is Lockdownd -8 and others.

Hope to get a hint here, thanks.

Below are screenshots for reference and i'm working on iPhone XS / XR / XS Max with iOS 12+ Loaded.

enter image description here enter image description here


Solution

  • I'm the of the imobiledevice-net project you mentioned. We've recently switched build systems and it looks like I forgot to update the status badge.

    The binaries from the latest build should work. On that page, click Artifacts, then select Binaries and download the libimobiledevice.1.2.1-r371-win-x64.zip file.

    Let me know how that goes.