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.

Incompatibility with Kotlin/Native 1.3.50 for iOS Arm64

See original GitHub issue

Ktor 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:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
dkwasniakcommented, Sep 4, 2019

@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?

2reactions
IgorKeycommented, Aug 27, 2019

Yes, i have the same, Ktor haven’t release 1.3.50 compatibility yet

Read more comments on GitHub >

github_iconTop 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 >

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