question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong version of ktor-client-ios, Expected '[1.1.1]', found '1.0.3-release-5085'

See original GitHub issue

Ktor Version

1.1.1

Kotlin Version

1.3.20

Ktor Engine Used(client or server and name)

Client Multiplatform Android/iOS

Feedback

Hi I’m having an issue to build a library shared between Android and iOS. The Android versions work fine, but when I try to create the artifact for Xcode I have the following error:

> Task :common:compileKotlinIos
warning: skipping /Users/max.cruz/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosx64/1.1.1/4daba45a7325f8902d9ae7fa1fa6ad15867ef749/ktor-client-ios.klib. The abi versions don't match. Expected '[5]', found '2'
warning: the compiler versions don't match either. Expected '[1.1.1]', found '1.0.3-release-5085'
error: compilation failed: Could not find "/Users/max.cruz/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosx64/1.1.1/4daba45a7325f8902d9ae7fa1fa6ad15867ef749/ktor-client-ios.klib" in [/Users/max.cruz/IdeaProjects/TpagaApp/common, /Users/max.cruz/.konan/klib, /Users/max.cruz/.konan/kotlin-native-macos-1.1.1/klib/common, /Users/max.cruz/.konan/kotlin-native-macos-1.1.1/klib/platform/ios_x64].

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
sdetillycommented, Apr 15, 2019

I was able to make it work by updating ktor lib to 1.1.4

0reactions
sdetillycommented, Apr 15, 2019

i have ktor-client-ios 1.1.3 and i also have this error message when i try upgrading kotlin to 1.3.30. Is there a ktor version that supports kotlin 1.3.30?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found