Urgent.News

What's breaking now, across thousands of outlets.

Tech

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

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…

A Windows developer without a Mac can still ship an iOS app through a cloud-based solution using Kotlin Multiplatform, a cloud Mac, and TestFlight. The process involves building the project on a Windows machine, then transferring the build to a cloud Mac via GitHub Actions. The game's core logic is written in Kotlin, while the UI is implemented using Jetpack Compose and Compose Multiplatform.

The Android and iOS shells are thin wrappers around the shared code, with platform-specific functionality implemented separately. The cloud Mac runs on a GitHub Actions runner using a recent Xcode version, and the build process involves setting up the necessary dependencies and running Xcodebuild. The app is signed using an App Store Connect API key stored as a secret, allowing for cloud-managed signing and direct uploads to TestFlight.

The biggest limitation is that the Swift code must be kept small, as the cloud Mac cannot link the iOS framework or build the Swift app. Despite the need for macOS, the overall cost is minimal, with a single TestFlight run costing around six minutes of cloud Mac usage.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

RAG Without a Second Database

Almost every RAG tutorial I read starts the same way. Take your documents, split them into chunks, embed them, and load the vectors into a vector database.

  • Author builds RAG system without second database.
  • PostgreSQL 16.15 and pgvector 0.8.0 used for setup.
  • HNSW index shows significant latency gap vs. exact scan.

Rewriting for Kotlin Multiplatform Without Changing Behavior: Old Code as a Test Oracle

I moved two small RSS reader apps and a space app to Kotlin Multiplatform so they could also run on iOS. That meant rewriting code that leaned on Android and Java classes.

  • Migrated RSS reader apps and space app to Kotlin Multiplatform for iOS compatibility
  • Preserved old implementations in test sources as a test oracle for comparison
  • Developed custom Random algorithm to maintain space app's daily card consistency

Debugging an iPhone From Windows Over USB: Screenshots and Logs With Python

On Android, adb makes it easy to take a screenshot or read a log from a phone on your desk. I expected nothing like it for an iPhone on Windows, but there is a way: Apple's own driver package plus an…

  • Install Apple Devices app and Python 3 on Windows
  • Use pymobiledevice3 package to access iPhone from Windows
  • Filter log output by app process name for targeted debugging

More from Monday 16 November →