compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Cannot run compose desktop application using IDEA gutter

Open Walingar opened this issue 1 year ago • 35 comments

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

  1. Open image viewer example in IDEA
  2. 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.

Walingar avatar May 03 '23 10:05 Walingar