Menu

1 / 5

Shipping an iPhone App Without a Mac: Kotlin Multiplatform, a Cloud Mac and TestFlight

DEV Community: kotlin·Nesim Razon·7 days ago
#jpmpvXXW
#devtokotlin#devto#dev#build#kotlin
Long article (1066 words) — no AI summary yet.
Reading 0:00
15s threshold

I develop on Windows and I do not own a Mac, but I wanted my small Android game 2048 on the App Store. It turns out you do not need a Mac on your desk, only one in the cloud for a few minutes per build. Here is the pipeline that took a build from my laptop to TestFlight and into App Store review within a day, and the traps I hit on the way.

The shape of the project

The game was already written in Kotlin with Jetpack Compose, so I moved it to Kotlin Multiplatform with Compose Multiplatform. A shared module now holds the game rules, the screens, the saved game, the texts and the font. The Android app is a thin shell around it, and a small Swift app is the iOS shell.

Everything that differs between platforms sits behind one small interface: banner ads, the leaderboard, the rating prompt, sharing. Android implements it with the SDKs it already used. On iOS the Swift side implements it with the Google Mobile Ads SDK and Game Center.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.