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:
@@ -255,7 +255,7 @@ private fun simulator(project: Project): ExecutorService = object : ExecutorServ
|
|||||||
private val device by lazy {
|
private val device by lazy {
|
||||||
val default = project.findProperty("iosDevice")?.toString() ?: when (target.family) {
|
val default = project.findProperty("iosDevice")?.toString() ?: when (target.family) {
|
||||||
Family.TVOS -> "Apple TV 4K"
|
Family.TVOS -> "Apple TV 4K"
|
||||||
Family.IOS -> "iPhone 12"
|
Family.IOS -> "iPhone 11"
|
||||||
Family.WATCHOS -> "Apple Watch Series 6 - 40mm"
|
Family.WATCHOS -> "Apple Watch Series 6 - 40mm"
|
||||||
else -> error("Unexpected simulation target: $target")
|
else -> error("Unexpected simulation target: $target")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user