Use iPhone 11 as a default target for ios simulator tests.

iPhone 12 isn't available on the xcode 12 without updates.
This commit is contained in:
Pavel Punegov
2021-03-29 18:32:04 +03:00
committed by Space
parent 17ba350868
commit 303d5ece96
@@ -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")
}