[KT-54090] Filter Apple devices by availability

This commit is contained in:
konstantin.tskhovrebov
2022-10-05 14:21:08 +02:00
committed by Space Team
parent 9a4a30c9bb
commit 7f40a9394b
@@ -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