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

darkmoon_uk

11/19/2019, 5:29 AM
Ktor 1.2.5 + Kotling 1.3.60 = 😞
😢 3
r

Ran Magen

11/19/2019, 7:12 PM
😞 in what way? what happens?
@darkmoon_uk Did you observe this version combo to fail in some way?
👇 1
👌 1
t

Thomas

11/20/2019, 8:55 PM
@Ran Magen It is needed for Kotlin/Native. A library needs to be built with the same Kotlin version as your project. For JVM/Android this is not an issue.
1
r

Ran Magen

11/20/2019, 9:01 PM
Oh ok great, yeah we're running on the JVM. Thanks!
d

darkmoon_uk

11/20/2019, 10:20 PM
Yes:
Copy code
skipping /Users/<Username>/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-serialization-iosx64/1.2.5/3b67cda81d91ebb007b5d22aae904569cb794108/ktor-client-serialization.klib. The abi versions don't match. Expected '[17]', found '14'
w: The compiler versions don't match either. Expected '[]', found '1.3.50-release-11850'
As @thol01 says, a recompile of Ktor vs 1.3.60 is needed before we can link it in Kotlin/Native projects.