[KT-54090] Filter Apple devices by availability
This commit is contained in:
committed by
Space Team
parent
9a4a30c9bb
commit
7f40a9394b
+1
-1
@@ -36,7 +36,7 @@ class XcodeUtils private constructor() {
|
||||
val osRegex = "-- .* --".toRegex()
|
||||
val deviceRegex = """[0-9A-F]{8}-([0-9A-F]{4}-){3}[0-9A-F]{12}""".toRegex()
|
||||
|
||||
val out = runCommand(listOf("/usr/bin/xcrun", "simctl", "list"))
|
||||
val out = runCommand(listOf("/usr/bin/xcrun", "simctl", "list", "devices", "available"))
|
||||
|
||||
val result = mutableMapOf<String, String>()
|
||||
var os: String? = null
|
||||
|
||||
Reference in New Issue
Block a user