Skip to content

Commit 17ca72d

Browse files
author
ttllonsaikrisv
committed
fixed ProductType for IOS Device
1 parent e00a3a5 commit 17ca72d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/thoughtworks/iOS/IOSManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public List<Device> getDevices() {
5252
private JSONObject getDeviceInfo(String udid) throws InterruptedException, IOException {
5353

5454
String model = cmd.runProcessCommandToGetDeviceID("ideviceinfo -u "
55-
+ udid + " | grep ProductVersion").replace("\n", "");
55+
+ udid + " | grep ProductType").replace("\n", "");
5656

5757
String name = cmd.runProcessCommandToGetDeviceID("idevicename --udid " + udid);
5858
String osVersion = cmd.runProcessCommandToGetDeviceID("ideviceinfo --udid "

0 commit comments

Comments
 (0)