https://kotlinlang.org logo
Title
o

olonho

02/03/2021, 7:49 AM
starting with build
0.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.
:kotlin-intensifies: 18
🎁 13
s

suresh

02/04/2021, 10:48 AM
AppImage
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)
@Igor Demin Is
AppImage
supported on mac now?
c

Colton Idle

02/04/2021, 10:46 PM
@olonho just to confirm. This means I'm going to need to pay a 100 annual fee right? No way around it? Just asking because I know you can deploy/sign ios apps without paying 100 for an apple dev account
o

olonho

02/05/2021, 5:24 AM
That’s better be asked at Apple forums, I personally paid that fee.
c

Colton Idle

02/05/2021, 2:22 PM
@olonho thanks. will reach out to some apple forums.
a

alexey.tsvetkov

02/08/2021, 12:11 PM
@suresh the
AppImage
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.
👍 1