Skip to content

Commit

Permalink
Merge pull request #1129 from square/sedwards/iOS-Sim
Browse files Browse the repository at this point in the history
Let Kotlin determine correct simulator
  • Loading branch information
steve-the-edwards authored Oct 24, 2023
2 parents 664eead + 30f0cd2 commit 600db17
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 600db17

Please sign in to comment.