I'm updating one of my projects to Kotlin 2.0.0 an...
# kotlin-native
a
I'm updating one of my projects to Kotlin 2.0.0 and now getting the following error logs in the build output. The project seems to build fine though. Is there any way to fix this?
Copy code
> Task :decompose:linkDebugTestMacosArm64
Failed to load native library:libjansi.jnilib. The native library file at /Users/arkivanov/.gradle/native/jansi/1.18/osx/libjansi.jnilib is not executable, make sure that the directory is mounted on a partition without the noexec flag, or set the jansi.tmpdir system property to point to a proper location.  osinfo: Mac/arm64
java.lang.UnsatisfiedLinkError: /Users/arkivanov/.gradle/native/jansi/1.18/osx/libjansi.jnilib: dlopen(/Users/arkivanov/.gradle/native/jansi/1.18/osx/libjansi.jnilib, 0x0001): tried: '/Users/arkivanov/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/arkivanov/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (no such file), '/Users/arkivanov/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
s
I'm seeing something similar. I think maybe it has something to do with
org.jetbrains.kotlin.android
? I had the plugin in my root gradle script but after I removed it (don't actually need it in my project) I seemed to have stopped seeing it.
🤔 1
however, I see this from a module using ktor 3.0.0-beta1 when I add ios targets. I use ktor in another project but don't see this error.