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

Steven

04/15/2019, 2:48 PM
speaking of 1.3.30, i can't get my project to work with ktor 1.1.3 from the moment i updated kotlin 1.3.30. I think there may be a compat issue
d

Dennis L

04/15/2019, 2:55 PM
I updated to ktor 1.1.3 and upgraded to kotlin 1.3.30 with no issues
s

Simon Schubert

04/15/2019, 4:01 PM
@Steven whats the error you get? I'm also having problems with ktor 1.1.3 ios client
w: skipping /Users/simon/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosx64/1.1.3/9a4fb53397fe8fb28fb819877d151fe43bdf4b3f/ktor-client-ios.klib. The abi versions don't match. Expected '[8]', found '5' w: The compiler versions don't match either. Expected '[1.2]', found '1.1.2-release-6625' e: Compilation failed: Could not find "/Users/simon/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosx64/1.1.3/9a4fb53397fe8fb28fb819877d151fe43bdf4b3f/ktor-client-ios.klib" in [/Users/simon/NewsOut, /Users/simon/.konan/klib, /Users/simon/.konan/kotlin-native-macos-1.2/klib/common, /Users/simon/.konan/kotlin-native-macos-1.2/klib/platform/ios_x64].
s

Steven

04/15/2019, 4:06 PM
that's exactly the error i'm getting! fixed it by updating ktor lib to 1.1.4 and kotlinx serialization to 0.11.0
d

Dennis L

04/15/2019, 4:51 PM
Oh i opened my project on a mac and am getting the same error now, but updating kotor and serialization and coroutines didn't fix it, maybe it breaks if there's any library on an old gradle version?
d

Dmitry Motyl

04/15/2019, 4:55 PM
I think that all versions ktor is not compatible with 1.3.30 now
d

Dominaezzz

04/15/2019, 6:42 PM
Should work now with
1.1.4
.
d

Dennis L

04/15/2019, 7:40 PM
Updating to 1.1.4 didn't fix it for me but maybe another library is the cause in this case
s

Simon Schubert

04/16/2019, 8:07 AM
1.1.4 fixed it for me 👍
2 Views