How to generate app bundles for publishing a Compose Multiplatform app for Android, iOS, Web, and Desktop?
Asked Answered
D

2

7

I'm currently working on a Compose Multiplatform project using Kotlin, and I'm looking for guidance on how to generate app bundles for publishing my app on various platforms, including Android, iOS, Web, and Desktop.

My project is set up to target multiple platforms, and I've successfully built and tested the app for each platform individually. However, I'm unsure about the specific steps and tools required to generate app bundles or distribution packages for each platform.

Specifically, I'm interested in learning:

  • How to generate an Android App Bundle (AAB) for publishing on the Google Play Store.
  • How to generate an iOS App Bundle (IPA) for distribution on the Apple App Store.
  • How to package the app for deployment on the web using Kotlin/WASM and Compose for Web.
  • How to create executable files or packages for distributing the app on desktop platforms such as Windows, macOS, and Linux.

If anyone has experience or knowledge about generating app bundles or distribution packages for Compose Multiplatform projects targeting these platforms, I would greatly appreciate any insights, recommendations, or step-by-step guides.

Thank you in advance for your help!

Dodder answered 13/3, 2024 at 8:27 Comment(0)
Y
2

Currently, Android Studio is your best bet for most of these things. Fleet is supposed to take its place at some point in the future.

  • Android: Build -> Generate Signed App Bundle/APK. Follow the steps to create a production .aab, and upload that to Google Play Console.
  • iOS: Open project in XCode (requires Mac), Product -> Archive -> Validate App (in Organizer) -> Distribute App (in Organizer)
  • Desktop: ./gradlew :composeApp:packageReleaseUberJarForCurrentOs (creates an executable .jar file, requires Java to be installed on the client machine)
Yukyukaghir answered 2/6, 2024 at 12:49 Comment(0)
H
0

No answers? Currently I can't find guideline how to generate installer for IOS, Desktop (MAC, Linux, Windows) from Android Studio.

Hurried answered 14/5, 2024 at 13:25 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.