简体   繁体   中英

Unable to Handshake with iOS Device. Getting PList Error

I want to Access iOS Device Connected with USB into my c# Application. i am using iMObileDevice Library for that.

But When i try to Handshake with Device than it Gives me Following Errors on Different Devices:-

  Additional information: An Lockdown error occurred. The error code was 
  PlistError

This is i am getting into iPhone 6S Plus

  Additional information: An Lockdown error occurred. The error code was 
  SslError

This Error i am Getting in iPhone 5.

Both OS Versions are above 10

Here is My code:-

            iDeviceHandle deviceHandle;
            idevice.idevice_new(out deviceHandle, udid).ThrowOnError();

            LockdownClientHandle lockdownHandle;
            lockdown.lockdownd_client_new_with_handshake(deviceHandle, out lockdownHandle, "Quamotion").ThrowOnError();

            string deviceName;
            lockdown.lockdownd_get_device_name(lockdownHandle, out deviceName).ThrowOnError();

            Console.WriteLine(deviceName);

            deviceHandle.Dispose();
            lockdownHandle.Dispose();

I am Unable to handshake with Device through lockdownd_client_new_with_handshake() Method.

Can anybody tell me what i am doing wrong and how to do it in proper way. My Task is to Install Application on Device.

Thanks in Advance.

With iMobileDevice-net ( latest stable 1.2.0.112 ) I was getting the exact same error from lockdownd_client_new_with_handshake() method. I instead installed 1.2.1-r202, it seemed to resolve that issue.

I have also tried more recent releases such as r308, but I started to get the following error: https://github.com/libimobiledevice-win32/imobiledevice-net/issues/54

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM