libimobiledevice-win32 / imobiledevice-net

.NET (C#, VB.NET,...) bindings for libimobiledevice
GNU Lesser General Public License v2.1
297 stars 77 forks source link

unable to get ios device id (udid) after connecting iOS device to windows 10 machine using USB cable. application is working in debug mode in visual studio, but not working in release build (without using visual studio) #194

Open siddhijk opened 3 years ago

siddhijk commented 3 years ago

We are trying to implement data transfer from iOS device to windows 10 (UWP) app using visual studio, in debug mode, able to get ios device id (udid) and trasfer data from iOS device to windows 10 app. but when trying to run same application in release mode without visual studio in windows 10, getting error message as "An iDevice error occured. The error code was no device" . Please suggest solution for this.

YueLu0116 commented 2 years ago

Cannot work for both debug and release mode. My project's configuration is .Net 5.0 x64&AnyCpu console application in Windows 10 20H2. My iOS device is iPhone7 with iOS 15.2.