Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No extensions handle the extension type: kotlinx.metadata.klib.KlibModuleFragmentExtensionVisitor #59

Open
ln-12 opened this issue Aug 22, 2022 · 2 comments

Comments

@ln-12
Copy link

ln-12 commented Aug 22, 2022

I tried to integrate this plugin by adding id("dev.icerock.moko.kswift") version "0.6.0" to my plugins{} section and kswift { install(dev.icerock.moko.kswift.plugin.feature.SealedToSwiftEnumFeature) } as config. Unfortunately, the following error shows up when I try to build my KMM project using ./gradlew shared:build:

> Task :shared:linkDebugFrameworkIosArm64 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:linkDebugFrameworkIosArm64'.
> No extensions handle the extension type: kotlinx.metadata.klib.KlibModuleFragmentExtensionVisitor

I am using Kotlin 1.7.10.

Do you have any idea how to solve this?

@Alex009
Copy link
Member

Alex009 commented Aug 22, 2022

i set kotlin 1.7.10 here but no error. can you add something in this sample to reproduce problem?

@ln-12
Copy link
Author

ln-12 commented Aug 22, 2022

I could find out that the problem is caused by the combination of atomicfu and using this library via DSL. The build for this commit fails for me, when I run ./gradlew shared:clean && ./gradlew shared:build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants