Hey guys!
I'm trying to create a KMP library that includes some compose UI for some of the targets.
I tested publishing to maven local and importing the jvm artifact from a simple java console app.
When I call the SDK function that would spawn the UI Window, I get an exception:
Caused by: org.jetbrains.skiko.LibraryLoadException: Cannot find libskiko-macos-arm64.dylib.sha256, proper native dependency missing.
(full stack trace in 🧵)
How do I make sure to include the right dependencies in the library? 🤔
Fixed! I missed adding
implementation(compose.desktop.currentOs)
to jvmMain dependencies in the library module 🙂
Will leave it here for posterity.