Don.Robertson
08/24/2022, 10:56 PMJeff Lockhart
08/24/2022, 10:59 PMDon.Robertson
08/24/2022, 11:01 PMJeff Lockhart
08/25/2022, 12:12 AMDon.Robertson
08/25/2022, 12:19 AMPamela Hill
08/25/2022, 4:57 AMDon.Robertson
08/25/2022, 5:21 AMPamela Hill
08/25/2022, 5:37 AMDon.Robertson
08/25/2022, 6:01 AMJeff Lockhart
08/25/2022, 3:09 PMclasspath("com.android.tools.build:gradle:7.2.2")
to
classpath("com.android.tools.build:gradle:7.3.0-rc01")
when testing on Android Studio Dolphin?
You can replace
kotlin {
targets {
android()
iosSimulatorArm64()
}
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "shared"
}
}
...
with
kotlin {
android()
ios {
binaries.framework {
baseName = "shared"
}
}
...
and replace all the individual ios*
source sets and manual dependsOn()
with
kotlin {
...
sourceSets {
...
val iosMain by getting
val iosTest by getting
}
Since Kotlin 1.6.20, you don't have to target each individual ios architecture.Don.Robertson
08/25/2022, 5:50 PMJeff Lockhart
08/26/2022, 3:30 PMDon.Robertson
08/26/2022, 10:56 PMSean Proctor
08/30/2022, 1:45 PM