Skip to content

Commit

Permalink
Let Kotlin determine correct simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-the-edwards committed Oct 24, 2023
1 parent 664eead commit 30f0cd2
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ fun KotlinMultiplatformExtension.iosWithSimulatorArm64(target: Project) {
ios()
iosSimulatorArm64()

targets.withType(KotlinNativeTargetWithSimulatorTests::class.java) {
it.testRuns.configureEach {
// Kotlin 1.7.2x is hard-coded to "iPhone 13", which is no longer included by default in Xcode
it.deviceId = target.properties["workflow.iosSimulatorName"] as? String ?: "iPhone 14"
}
}

sourceSets.getByName("iosSimulatorArm64Main") {
it.dependsOn(sourceSets.getByName("iosMain"))
}
Expand Down

0 comments on commit 30f0cd2

Please sign in to comment.