Open gosr opened 3 months ago
I think this is also duplicate of #1940 The files are generated in build folder but for some reason not accessible during compilation phase.
I actually think this is because of the following upstream issue: https://youtrack.jetbrains.com/issue/KT-69523
If you have kotlin.native.disableCompilerDaemon = true
, please remove the property line or set it to false
when using Kotlin 2.0
Reproduce:
Result:
Looks like it also fails to generate the necessary native code.
It works fine without the changes done in https://github.com/gosr/kotlin-multiplatform-samples/commit/00096ae82116fb17761a7bbabb416a5ff40739c5.