Creating your first Compose Multiplatform application is an exciting step into Kotlin Multiplatform development. This guide walks you through the initial setup to run your app on Android and iOS devices. By the end of this guide, you’ll have a functioning application on both platforms, ready to expand upon.
To start, generate your Kotlin Multiplatform project using the Kotlin Multiplatform Wizard by JetBrains. Visit www.kmp.jetbrains.com to get started. This wizard creates the foundation for your Compose Multiplatform application, including shared code and platform-specific modules for Android and iOS.
Once you’ve generated the project, unzip the file and familiarize yourself with the folder structure. You’ll see shared modules where most of your business logic and UI code will reside, as well as platform-specific folders for Android and iOS integrations.