From 303d5ece962b90e5ea8c7a03030bbc16d9b4415a Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Mon, 29 Mar 2021 18:32:04 +0300 Subject: [PATCH] Use iPhone 11 as a default target for ios simulator tests. iPhone 12 isn't available on the xcode 12 without updates. --- .../src/main/kotlin/org/jetbrains/kotlin/ExecutorService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/ExecutorService.kt b/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/ExecutorService.kt index 44736231198..f28a875820e 100644 --- a/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/ExecutorService.kt +++ b/kotlin-native/build-tools/src/main/kotlin/org/jetbrains/kotlin/ExecutorService.kt @@ -255,7 +255,7 @@ private fun simulator(project: Project): ExecutorService = object : ExecutorServ private val device by lazy { val default = project.findProperty("iosDevice")?.toString() ?: when (target.family) { Family.TVOS -> "Apple TV 4K" - Family.IOS -> "iPhone 12" + Family.IOS -> "iPhone 11" Family.WATCHOS -> "Apple Watch Series 6 - 40mm" else -> error("Unexpected simulation target: $target") }