Wrong version of ktor-client-ios, Expected '[1.1.1]', found '1.0.3-release-5085'
See original GitHub issueKtor 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:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to make it work by updating ktor lib to 1.1.4
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?