Hey guys! I'm trying to create a KMP library that includes some compose UI for some of the targets. ...
r
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:
Copy code
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
Copy code
implementation(compose.desktop.currentOs)
to jvmMain dependencies in the library module ๐Ÿ™‚ Will leave it here for posterity.
thank you color 1