Zoltan Demant
02/23/2023, 3:34 PMandroid.content.Context
being suggested/autocompleted in commonMain code earlier today. Just to verify, I created a new KMP project, and that was no longer the case. After some digging, Ive found that a couple of ios related lines in the gradle file is what changes this behavior. Is this expected given that I only have commonMain and androidMain sourcesets?
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64(),
).forEach {
it.binaries.framework {
baseName = "shared"
}
}
Landry Norris
02/23/2023, 3:36 PMZoltan Demant
02/23/2023, 3:38 PMLandry Norris
02/23/2023, 3:39 PMZoltan Demant
02/23/2023, 3:49 PMLandry Norris
02/23/2023, 3:50 PMZoltan Demant
02/23/2023, 4:00 PM