olonho
02/03/2021, 7:49 AM0.3.0-build148 we support signing and notarization of macOS DMG packages in Gradle plugin out of the box. See https://github.com/JetBrains/compose-jb/tree/master/tutorials/Signing_and_notarization_on_macOS. Please let us know how it works for you, and if documentation needs clarification or improvements.suresh
02/04/2021, 10:48 AMAppImage target format used to create .app files on Mac. With this update, it started throwing the following error
Caused by: java.lang.IllegalStateException: Unexpected target format for MacOS: AppImage
at org.jetbrains.compose.desktop.application.internal.ConfigureApplicationKt.configurePackagingTasks(configureApplication.kt:78)
at org.jetbrains.compose.desktop.application.internal.ConfigureApplicationKt.configureApplicationImpl(configureApplication.kt:30)
at org.jetbrains.compose.ComposePlugin$apply$2.execute(ComposePlugin.kt:36)
at org.jetbrains.compose.ComposePlugin$apply$2.execute(ComposePlugin.kt:17)suresh
02/04/2021, 6:27 PMAppImage supported on mac now?Colton Idle
02/04/2021, 10:46 PMolonho
02/05/2021, 5:24 AMColton Idle
02/05/2021, 2:22 PMalexey.tsvetkov
02/08/2021, 12:11 PMAppImage was not documented, so it was considered no one would use it as a targetFormats argument. The problem with it is that the name is too generic and confusing, and its not really a packaging format. In reality AppImage was meant to create a prepackaged app on any platform (.app is not a file format on Mac; it is just a directory containing executables & libraries).
In order to avoid confusion around TargetFormat.AppImage, the value was prohibited to be used as an argument of targetFormats. Instead, there are always two tasks available: createDistributable and runDistributable to create and run a prepackaged app. I will clarify the error message to reflect that.