Skip to main content
KMP projects share business logic in Kotlin across iOS and Android while building native binaries for each platform. Revyl detects the KMP layout and routes you into the rebuild-based dev loop using native iOS and Android build commands underneath. The CLI detects KMP projects by looking for a shared module alongside native shell directories (iosApp, androidApp, or composeApp) and KMP-specific Gradle markers. It generates build.platforms.ios and build.platforms.android entries using the underlying native build systems (Xcode for iOS, Gradle for Android). KMP does not have its own hot reload runtime. The dev loop uses the same rebuild model as native iOS/Android: press [r] to rebuild the full binary including shared Kotlin code, upload it, and reinstall.

What revyl init shows

When KMP is detected, the CLI explains the mapping:

Manual configuration

If auto-detection does not trigger (e.g. a non-standard project layout), configure the native builds manually:
Use commands for ordered local rebuild steps. Use singular command when the platform only needs one shell command.