We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e00a3a5 commit 17ca72dCopy full SHA for 17ca72d
1 file changed
src/main/java/com/thoughtworks/iOS/IOSManager.java
@@ -52,7 +52,7 @@ public List<Device> getDevices() {
52
private JSONObject getDeviceInfo(String udid) throws InterruptedException, IOException {
53
54
String model = cmd.runProcessCommandToGetDeviceID("ideviceinfo -u "
55
- + udid + " | grep ProductVersion").replace("\n", "");
+ + udid + " | grep ProductType").replace("\n", "");
56
57
String name = cmd.runProcessCommandToGetDeviceID("idevicename --udid " + udid);
58
String osVersion = cmd.runProcessCommandToGetDeviceID("ideviceinfo --udid "
0 commit comments