[K/N] Choose watchOS simulator depending on Xcode version.

watchOS-simulator device name was changed in Xcode 14.
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 46f4795..7188e12 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
@@ -270,10 +270,11 @@
     }
 
     private val device by lazy {
+        val version = Xcode.findCurrent().version
         val default = project.findProperty("iosDevice")?.toString() ?: when (target.family) {
             Family.TVOS -> "Apple TV 4K"
             Family.IOS -> "iPhone 11"
-            Family.WATCHOS -> "Apple Watch Series 6 - 40mm"
+            Family.WATCHOS -> "Apple Watch Series 6 " + (if (version.startsWith("14")) "(40mm)" else "- 40mm")
             else -> error("Unexpected simulation target: $target")
         }