Hello, I am confused what is the best way to make a KMP Compose application available on the Mac Appstore? (via catalyst, ipad application available on mac or something else?)
s
Skaldebane
07/31/2024, 6:02 PM
I don't know much about Catalyst, nor about Apple's policies in the Mac App Store, but I think you can build your app for Compose/Desktop and publish it like any other JVM app.
Skaldebane
07/31/2024, 6:03 PM
Would be super interesting to know if Compose/iOS works well with Catalyst (i.e. can we build an iOS/iPadOS app in Compose and have it work properly on macOS)
r
Rene Gens
07/31/2024, 7:18 PM
The next question would be can you bundle the jvm app on the Mac AppStore?
s
Skaldebane
07/31/2024, 7:39 PM
That I don't know. Compose Desktop will build you a
.dmg
and/or
.pkg
, then you gotta look at Apple's documentation for the rest.
If the Mac App Store expects another format, you can always get an unpackaged build and package it yourself using whatever standard Java packaging tools are available for your platform.
Skaldebane
07/31/2024, 7:43 PM
There's a lot of nuance to the whole thing, from the fact that you'll have to support two architectures (x86_64 and aarch64), maybe bundling them in the same "Universal app", among other details.