https://kotlinlang.org logo
#ktor
Title
# ktor
m

mben

12/11/2019, 5:22 PM
Hello trying to get ktor to work inside my kotlin multiplatform project but when i build my ios app using the shared library i get Unresolved reference io. i'm using gradle 6.0 and ktor 1.2.4 and kotlin 1.3.50 maybe it's a wrong combinaison of versions between kotlin ktor and gradle?
d

dambakk

12/11/2019, 6:20 PM
I get the same error. Subsrcibing to comments 🙂
e

e5l

12/12/2019, 4:39 AM
Hi @mben, could you show your build.gradle configuration?
m

mben

12/12/2019, 8:49 AM
Sans titre
Already have
Copy code
enableFeaturePreview("GRADLE_METADATA")
and working android side
when gradle version is 5.4.1, kotlin 1.3.50 and ktor 1.2.4 ios works, wich version of ktor should i use with gradle 6.0?
Ok for people that use gradle 5.4.1+ and have same issue you should use ktor version 1.3.0-beta-1 with coroutines 1.3.1 -> https://ktor.io/quickstart/migration/1.3.0.html
2 Views