https://kotlinlang.org logo
c

colintheshots

04/22/2022, 6:35 PM
I just updated all of my KMM libraries and suddenly I’m getting this error only when building from iOS/Kotlin Native:
Copy code
> Task :shared:linkPodDebugFrameworkIosX64 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:linkPodDebugFrameworkIosX64'.
> No extensions handle the extension type: kotlinx.metadata.klib.KlibModuleFragmentExtensionVisitor
Any ideas?
It looks like the class it’s looking for is supplied by
org.jetbrains.kotlinx:kotlinx-metadata-klib:0.0.1
… however, I have no idea what library is expecting this, nor why they wouldn’t depend upon it if they needed it.
Hmm, I think I have the error pinned down to the difference between atomicfu:0.17.1 and atomicfu:0.17.2. I’ll just downgrade and report the issue.
7 Views