[英]Unable to Handshake with iOS Device. Getting PList Error
I want to Access iOS Device Connected with USB into my c# Application. 我想将通过USB连接的iOS设备访问到我的c#应用程序中。 i am using iMObileDevice Library for that. 我正在为此使用iMObileDevice库。
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 这是我要进入的iPhone 6S Plus
Additional information: An Lockdown error occurred. The error code was
SslError
This Error i am Getting in iPhone 5. 我在iPhone 5中遇到此错误。
Both OS Versions are above 10 两种操作系统版本均高于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. 我无法通过lockdownd_client_new_with_handshake()方法与设备握手。
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. 使用iMobileDevice-net( 最新的稳定版本1.2.0.112 ),我从lockdownd_client_new_with_handshake()方法中得到了完全相同的错误。 I instead installed 1.2.1-r202, it seemed to resolve that issue. 我改为安装1.2.1-r202,它似乎可以解决该问题。
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 我还尝试了较新的版本,例如r308,但是我开始遇到以下错误: https : //github.com/libimobiledevice-win32/imobiledevice-net/issues/54
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.