Incompatibility with Kotlin/Native 1.3.50 for iOS Arm64
See original GitHub issueKtor needs an update towards Kotlin 1.3.50:
Please wait while Kotlin/Native compiler 1.3.50 is being installed.
Download https://download.jetbrains.com/kotlin/native/builds/releases/1.3.50/macos/kotlin-native-macos-1.3.50.tar.gz (253.69 MB)
Download https://download.jetbrains.com/kotlin/native/builds/releases/1.3.50/macos/kotlin-native-macos-1.3.50.tar.gz finished, took 28 s 968 ms
Unpack Kotlin/Native compiler to /Users/saschpe/.konan/kotlin-native-macos-1.3.50
Unpack Kotlin/Native compiler to /Users/saschpe/.konan/kotlin-native-macos-1.3.50 finished, took 39 s 498 ms
> Task :core:compileKotlinIosArm64
Downloading native dependencies (LLVM, sysroot etc). This is a one-time action performed only on the first run of the compiler.
Downloading dependency: https://download.jetbrains.com/kotlin/native/libffi-3.2.1-3-darwin-macos.tar.gz (72.6 kiB/72.6 kiB). Done.
Extracting dependency: /Users/saschpe/.konan/cache/libffi-3.2.1-3-darwin-macos.tar.gz into /Users/saschpe/.konan/dependencies
Downloading dependency: https://download.jetbrains.com/kotlin/native/clang-llvm-6.0.1-darwin-macos.tar.gz (422.6 MiB/422.6 MiB). Done.
Extracting dependency: /Users/saschpe/.konan/cache/clang-llvm-6.0.1-darwin-macos.tar.gz into /Users/saschpe/.konan/dependencies
w: skipping /Users/saschpe/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosarm64/1.2.3/a35b95c1d83e1e76050ea1cd938b5cb73a66f354/ktor-client-ios.klib. The abi versions don't match. Expected '[14]', found '9'
w: The compiler versions don't match either. Expected '[]', found '1.3-rc1-11132'
e: Could not find "/Users/saschpe/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-client-ios-iosarm64/1.2.3/a35b95c1d83e1e76050ea1cd938b5cb73a66f354/ktor-client-ios.klib" in [/Users/saschpe/Projects/Foo, /Users/saschpe/.konan/klib, /Users/saschpe/.konan/kotlin-native-macos-1.3.50/klib/common, /Users/saschpe/.konan/kotlin-native-macos-1.3.50/klib/platform/ios_arm64].
> Task :core:compileKotlinIosArm64 FAILED
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to add two or more kotlin native modules on an iOS project
This particular error is a known issue. Multiple debug static frameworks are incompatible with compiler caches. So to workaround the issue you ...
Read more >What's new in Kotlin 1.4
Kotlin /Native is based on a new infrastructure built around an intermediate representation (IR) for Kotlin code.
Read more >Kotlin Language Documentation
runtime or virtual machine. Kotlin/Native supports the following platforms: iOS (arm32, arm64, simulator x86_64). MacOS (x86_64). Android (arm32, arm64).
Read more >module was compiled with an incompatible version of kotlin ...
gradle solved my problem. From. ext.kotlin_version = '1.3.50'.
Read more >Changelog - Kotest
Fixes compiler plugin issue with Kotlin/Native using Kotlin 1.7, issue #3060 ... Kotest tries to maintain compatibility across multiple versions by not ...
Read more >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
@cy6erGn0m Ktor 1.2.4 doesn’t work with Kotlin 1.3.50 and gradle 5.4.1. Which version should I use to get it working?
Yes, i have the same, Ktor haven’t release 1.3.50 compatibility yet