Hello, I’m working on a way to distribute KMP libr...
# multiplatform
f
Hello, I’m working on a way to distribute KMP library with my plugin spmForKmp. I have made a quick sample with Compose iOS/Android library using ExoPlayer and KSPlayer, all sources are inside the repo. The downside here, the end user on iOS needs to add the native dependency on Xcode for fixing linking issues (and more). Need some feedback and what people think about it. Thanks!
h
I tried to use spm4kmp to port posthog, I get this error, can you give me any hint?
Copy code
Caused by: java.lang.NoClassDefFoundError: org/gradle/internal/extensions/stdlib/CharSequenceExtensionsKt
	at io.github.frankois944.spmForKmp.SpmForKmpPlugin.getTaskName(SpmForKmpPlugin.kt:240)
	at io.github.frankois944.spmForKmp.SpmForKmpPlugin.getTaskName$default(SpmForKmpPlugin.kt:236)
	at io.github.frankois944.spmForKmp.SpmForKmpPlugin.apply$lambda$21$lambda$19(SpmForKmpPlugin.kt:80)
	at io.github.frankois944.spmForKmp.SpmForKmpPlugin.apply$lambda$21$lambda$20(SpmForKmpPlugin.kt:55)
f
Hi, can you write an issue on the repo, please?
this error is because you’re using an old gradle version
h
sure I will.