https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

jamshedalamqaderi

10/07/2023, 11:44 AM
Does someone know how to solve this issue. I'm trying to add ktorfit for kspIos sourcesets but getting this
Cannot change attributes of dependency configuration ':shared:iosX64CInteropApiElements' after it has been resolved
My setup
Copy code
dependencies {
    with("de.jensklingenberg.ktorfit:ktorfit-ksp:$ktorfitVersion") {
        add("kspCommonMainMetadata", this)
        add("kspAndroid", this)
        add("kspIosArm64", this)
        add("kspIosSimulatorArm64", this)
        add("kspIosX64", this)
    }
}
3 Views