Anyone having the same problem? `Unable to resolve...
# ktor
n
Anyone having the same problem?
Unable to resolve dependency for ':common@debug/compileClasspath': Could not resolve io.ktor:ktor-client-ios:1.3.0.
e
Hi @nrobi, could you list your dependencies and gradle version?
n
Copy code
gradle-6.0.1
Copy code
object iOS {
    const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib"
    const val coroutines =
        "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:$coroutinesVersion"
    const val serialization =
        "org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:$serializationVersion"

    const val ktorClient = "io.ktor:ktor-client-ios:$ktorVersion"
    const val ktorClientJson = "io.ktor:ktor-client-json-native:$ktorVersion"
    const val ktorSerialization = "io.ktor:ktor-client-serialization-native:$ktorVersion"
    const val ktorLogging = "io.ktor:ktor-client-logging-native:$ktorVersion"
}
Copy code
private const val ktorVersion = "1.3.0"
e
Could you try gradle 5.6? There are some breaking changes between releases
n
sure
It works with
5.6.4
but only if I downgrade the ktorVersion to
1.0.1
e
Could you file an issue with reproducer? We’ll take a look