Trying to update kotlin version to 2.0.0 for a mul...
# android
c
Trying to update kotlin version to 2.0.0 for a multiplatform project(android, ios, desktop) with room and ksp multiplatform. Configuration:
kotlin = "2.0.0"
ksp = "2.0.0-1.0.22"
room = "2.7.0-alpha04"
Copy code
dependencies {
    add("kspCommonMainMetadata", libs.room.compiler)
    add("kspDesktop", libs.room.compiler)
    add("kspAndroid", libs.room.compiler)
    add("kspIosX64", libs.room.compiler)
    add("kspIosArm64", libs.room.compiler)
    add("kspIosSimulatorArm64", libs.room.compiler)
}
Issue:
Cannot change attributes of dependency configuration ':composeApp:debugFrameworkIosX64' after it has been resolved
Had somebody this issue?
m
same issue i solve this problem
c
Not sure where the docs are saying to add commonMainMetadata and the build targets, but probably pick one or the other, I based one of my projects off of this and works fine: https://github.com/android/kotlin-multiplatform-samples/tree/main/Fruitties