IOSHelper: comment about how the Platform == 'iOS' filter used by xcrun devicectl includes iPadOS, so there's no need to check for that one separately
This commit is contained in:
@@ -367,6 +367,7 @@ class IOSHelper
|
|||||||
// devices, so we'll prefer those, if available.
|
// devices, so we'll prefer those, if available.
|
||||||
var deviceUUID:String = null;
|
var deviceUUID:String = null;
|
||||||
// prefer an iOS device with State == 'connected'
|
// prefer an iOS device with State == 'connected'
|
||||||
|
// Note: Platform == 'iOS' includes iPadOS
|
||||||
var listDevicesOutput = System.runProcess("", "xcrun", ["devicectl", "list", "devices", "--hide-default-columns", "--columns", "Identifier", "--filter", "Platform == 'iOS' AND State == 'connected'"]);
|
var listDevicesOutput = System.runProcess("", "xcrun", ["devicectl", "list", "devices", "--hide-default-columns", "--columns", "Identifier", "--filter", "Platform == 'iOS' AND State == 'connected'"]);
|
||||||
var ready = false;
|
var ready = false;
|
||||||
for (line in listDevicesOutput.split("\n")) {
|
for (line in listDevicesOutput.split("\n")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user