SKIE: Kotlin 2.0.20 incompatibility: NoSuchMethodError: 'org.jetbrains.kotlin.config.CompilerConfigurationKey org.jetbrains.kotlin.backend.konan.KonanConfigKeys$Companion.getBITCODE_EMBEDDING_MODE()'

Looks like a simple breaking API change in the KonanConfigKeys.

> Task :samples:counter:linkReleaseFrameworkIosArm64 FAILED
e: Compilation failed: 'org.jetbrains.kotlin.config.CompilerConfigurationKey org.jetbrains.kotlin.backend.konan.KonanConfigKeys$Companion.getBITCODE_EMBEDDING_MODE()'

 * Source files: 
 * Compiler version: 2.0.20-Beta2
 * Output kind: FRAMEWORK

e: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.config.CompilerConfigurationKey org.jetbrains.kotlin.backend.konan.KonanConfigKeys$Companion.getBITCODE_EMBEDDING_MODE()'
        at co.touchlab.skie.context.MainSkieContext.<init>(MainSkieContext.kt:88)
        at co.touchlab.skie.entrypoint.EntrypointUtils$createMainSkieContext$$inlined$logBlocking$default$1.invokeSuspend(SkiePerformanceAnalytics.kt:155)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 4
  • Comments: 18

Most upvoted comments

Any news for a sharp release for Kotlin 2.0.20?

Hey @Syrou, I’m returning to this to get a full release out. Need to fix the reported issues and release a new RC, once we know it’s ready it’ll go out. Thanks for the patience.

Unfortunately didn’t get to release a preview as other things got in the way and there were some behavior changes in Kotlin 2.0.20 that require changes in SKIE tests.

Since Kotlin 2.0.20 is now out, we’ll add support for it directly in the 0.9.0 release if all goes according to plan. ~Unfortunately we’re now waiting for org.jetbrains.kotlin:kotlin-native-compiler-embeddable to become available (currently the latest is still 2.0.20-RC2).~

Forgot to close this, 0.9.0 has full Kotlin 2.0.20 support.

@ZacSweers If you could give 0.9.0-RC.3 a try and let me know if you encounter any issues I’d appreciate it!

Thanks @ZacSweers for the report. I’ve got a 2.0.20-RC working with SKIE and will probably release a preview version this week.