compose-multiplatform
compose-multiplatform copied to clipboard
Cannot run compose desktop application using IDEA gutter
Describe the bug When I have a multiplatform Compose project with desktop target, I try to run app with IDEA gutter icon and it fails in runtime with exceptions like:
Cannot find libskiko-macos-arm64.dylib.sha256, proper native dependency missing.
When use Gradle :run
everything works fine but really slow, comparing with IDEA start.
If I use only jvm target, not multiplatform, starting from gutter works fine as well.
Affected platforms Select one of the platforms below:
- Desktop (in multiplatform setup)
Versions
- Kotlin version*: 1.8.20
- Compose Multiplatform version*: 1.4.0
- OS version: MacOS X
- OS architecture: arm64
- JDK (for desktop issues): corretto-17
To Reproduce
- Open image viewer example in IDEA
- Try to run desktop main from IDEA gutter
Result: it runs, but fails with exceptions like:
Cannot find libskiko-macos-arm64.dylib.sha256, proper native dependency missing.
Expected behavior Should work fine.