Skip to content

Commit

Permalink
[updates] Enable Apple silicon simulator builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Becker committed Jan 5, 2023
1 parent 1c6b250 commit d5674f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions multiplatform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ kotlin {
}
}

iosSimulatorArm64("iosSimulatorArm64") {
binaries {
framework()
}
}

android("android") {
publishAllLibraryVariants()
}
Expand Down Expand Up @@ -50,6 +56,8 @@ kotlin {
sourceSets["iosMain"].dependencies {
implementation("io.ktor:ktor-client-darwin:$versions_ktor")
}

sourceSets["iosSimulatorArm64Main"].dependsOn(sourceSets["iosMain"])
}

android {
Expand Down

0 comments on commit d5674f3

Please sign in to comment.