简体   繁体   English

无法与iOS设备握手。 获取PList错误

[英]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.

相关问题 C#:无法创建DirectX设备。 硬件类型或软件类型均无效 - C#: Unable to create DirectX device. Neither Hardware type or Software type works UWP 应用找不到 USB 设备。 总是从 UsbDevice.FromIdAsync() 获取 null - UWP app cannot find the USB device. Always getting null from UsbDevice.FromIdAsync() 获取设备句柄时出错 - Error getting device handle 在 Xamarin.Forms iOS 中,获取 HttpRequestException:锁定设备时发送请求时出错 - In Xamarin.Forms iOS, Getting HttpRequestException: An error occurred while sending the request when locking the device 自定义 WebView 在模拟器中工作,但不在物理设备中。 Xamarin - Custom WebView working in simulator but not in physical device. Xamarin HttpClient无法与HTTPs端点握手 - HttpClient unable to handshake with an HTTPs endpoint LibUsbDotNet-无法找到USB设备错误 - LibUsbDotNet -unable to find the usb device error 与服务器成功建立连接,但在登录前握手期间发生错误。 (无法更改 SQL Server) - A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (unable to change SQL Server) 收到错误“无法反序列化响应” - Getting error “Unable to deserialize the response” SslStream AuthenticateAsClient 方法获取“由于意外的数据包格式导致握手失败”错误 - SslStream AuthenticateAsClient method getting "The handshake failed due to an unexpected packet format" error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM