We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0282da7 + 17ca72d commit b2af659Copy full SHA for b2af659
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