The baselines.io Starter Kit delivers a ready-to-use Kotlin Multiplatform workspace that saves roughly four weeks of repetitive setup work. What you get out of the box:
kotlin‑inject
– compile‑time DI with zero reflection.This demo walks you through generating a fresh project, verifying the build on Android Studio & Xcode, and points out common pitfalls.
Tool / SDK | Minimum Version | Notes |
---|---|---|
macOS | 13 Ventura | Required for iOS builds. Linux/Win OK for Android‑only. |
Python | 3.9 + | Needed to run the generator script. Run python3 --version . |
Git | any recent | Clone/keep your project under version control. |
Android Studio | Meerkat 2024.3.1+ (or IntelliJ IDEA + plugins) | Install Android SDK 35. |
Xcode | 15.3 + | iOS 15.3 SDK. |
Command‑line tools | git , python3 , bash |
Pre‑installed on macOS. |
# 1. Move into a workspace directory
cd ~/projects
# 2. Run the generator
python3 path/to/baselines-kmp/create_baselines.py
# 3. Open in IDEs & Run
open -a "Android Studio" ./MyApp
open ./MyApp/app/ios/MyApp/MyApp.xcodeproj
Open Terminal.app (or iTerm) and cd
into the folder that will host the new repo (e.g. ~/Projects
).