You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when i try to run a instruments test on Mac i am getting the following error,
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'imobiledevice-sdk': Native library (darwin/libimobiledevice-sdk.dylib) not found in resource path ([file:/Users/avarakukalayil/Documents/experiment/libimobiledevice-wrapper/target/classes/, file:/Users/avarakukalayil/.m2/repository/net/java/dev/jna/jna/4.0.0/jna-4.0.0.jar, file:/Users/avarakukalayil/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/Users/avarakukalayil/.m2/repository/com/googlecode/plist/dd-plist/1.3/dd-plist-1.3.jar])
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:337)
at org.libimobiledevice.ios.driver.binding.raw.ImobiledeviceSdkLibrary.(ImobiledeviceSdkLibrary.java:37)
at org.libimobiledevice.ios.driver.binding.sdk.IDeviceSDK.(IDeviceSDK.java:40)
at test.Test.main(Test.java:37)
Please let me know how to run libimobiledevice instruments.
Thanks,
-Ajith
The text was updated successfully, but these errors were encountered:
// AppContainerService appContainerService = new AppContainerService(DeviceService.get("f602f0ae61f9b684330d42ac9b9d4fb35e086638"));
} catch (SDKException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// InformationService service = new InformationService(device);
// System.out.println(service.getDeviceName());
}
}logs:org.libimobiledevice.ios.driver.binding.exceptions.SDKException: SDK_E_LOCKDOWN_CONNECT_FAILED : null
at org.libimobiledevice.ios.driver.binding.exceptions.SDKErrorCode.throwIfNeeded(SDKErrorCode.java:55)
at org.libimobiledevice.ios.driver.binding.services.IOSDevice.(IOSDevice.java:44)
at org.libimobiledevice.ios.driver.binding.services.DeviceService.get(DeviceService.java:37)
at com.wuba.ios.infon.test.Test.main(Test.java:17)
`
Hi, when i try to run a instruments test on Mac i am getting the following error,
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'imobiledevice-sdk': Native library (darwin/libimobiledevice-sdk.dylib) not found in resource path ([file:/Users/avarakukalayil/Documents/experiment/libimobiledevice-wrapper/target/classes/, file:/Users/avarakukalayil/.m2/repository/net/java/dev/jna/jna/4.0.0/jna-4.0.0.jar, file:/Users/avarakukalayil/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/Users/avarakukalayil/.m2/repository/com/googlecode/plist/dd-plist/1.3/dd-plist-1.3.jar])
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:337)
at org.libimobiledevice.ios.driver.binding.raw.ImobiledeviceSdkLibrary.(ImobiledeviceSdkLibrary.java:37)
at org.libimobiledevice.ios.driver.binding.sdk.IDeviceSDK.(IDeviceSDK.java:40)
at test.Test.main(Test.java:37)
Please let me know how to run libimobiledevice instruments.
Thanks,
-Ajith
The text was updated successfully, but these errors were encountered: