Hi guys, I am trying to use Ktor for my iOS target...
# kotlin-native
k
Hi guys, I am trying to use Ktor for my iOS target in a multiplatform scenario. Has anyone come across an error like this?
s
Looks like you might be missing a dependency. Can you paste your dependencies sections from build.gradle file?
Copy code
kotlin {
    sourceSets {
        ...
    }
}
k
s
Hmm those look OK. Do you have
kotlin-multiplatform
&
kotlinx-serialization
gradle plugins applied? Also are those your versions: • gradle - 5.1.1 • serialization - 0.11.1 • ktor - 1.2.2 • kotlin - 1.3.41 •
com.android.tools.build:gradle:3.4.2