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
I have been trying to connect multiple devices to my machine and getting information about each. The catch here is that these devices can be any of IOSSIMULATOR, IOS or ANDROID.
I have put the following if condition to check that if a device type is connected, then I should pull in all info related to it:
deviceInfo1 = new DeviceInfoImpl(DeviceType.IOSSIMULATOR); deviceInfo2 = new DeviceInfoImpl(DeviceType.IOS); System.out.println("Number of ios devices: " + deviceInfo2.anyDeviceConnected()); System.out.println("Number of android devices: " + deviceInfo3.anyDeviceConnected());
While I only have 2 iOS simulators connected, the code fails here: deviceInfo2.anyDeviceConnected() with the following error where I was expecting it to return a Boolean value
java.io.IOException: Cannot run program "idevice_id": error=2, No such file or directory at helpshift.sdkxautomation.tests.CheckNewIosUi.testCase13(CheckNewIosUi.java:135) Caused by: java.io.IOException: error=2, No such file or directory at helpshift.sdkxautomation.tests.CheckNewIosUi.testCase13(CheckNewIosUi.java:135)
I will need your help with this please.
The text was updated successfully, but these errors were encountered:
Hi,
I have been trying to connect multiple devices to my machine and getting information about each. The catch here is that these devices can be any of IOSSIMULATOR, IOS or ANDROID.
I have put the following if condition to check that if a device type is connected, then I should pull in all info related to it:
deviceInfo1 = new DeviceInfoImpl(DeviceType.IOSSIMULATOR); deviceInfo2 = new DeviceInfoImpl(DeviceType.IOS); System.out.println("Number of ios devices: " + deviceInfo2.anyDeviceConnected()); System.out.println("Number of android devices: " + deviceInfo3.anyDeviceConnected());
While I only have 2 iOS simulators connected, the code fails here:
deviceInfo2.anyDeviceConnected()
with the following error where I was expecting it to return a Boolean valuejava.io.IOException: Cannot run program "idevice_id": error=2, No such file or directory at helpshift.sdkxautomation.tests.CheckNewIosUi.testCase13(CheckNewIosUi.java:135) Caused by: java.io.IOException: error=2, No such file or directory at helpshift.sdkxautomation.tests.CheckNewIosUi.testCase13(CheckNewIosUi.java:135)
I will need your help with this please.
The text was updated successfully, but these errors were encountered: