Make Your iPhone Into a Mac to Create Apps for the App Store
Description and use
The author built a mobile front‑door that triggers cloud Mac builds via Codemagic and Xcode Cloud, enabling end‑to‑end iPhone app builds and App Store uploads without owning a Mac.
Problem
Shipping an iPhone app requires a Mac, but the author does not own one and cannot afford to buy one.
Outcome
The author achieved a fully automated iPhone app build pipeline without owning a Mac, using free cloud Mac services and secure key handling, resulting in successful App Store Connect uploads.
Workflow
- 1. Identify the five Mac‑only tasks required by Xcode: compiling, packaging, code signing, archiving, and upload validation.
- 2. Search for free cloud Mac services: Codemagic (500 free macOS minutes/month on M2 Macs) and Xcode Cloud (25 compute hours/month included in Apple Developer Program).
- 3. Create a mobile UI with cards for each app and a "Build to TestFlight" button that triggers a build via the chosen service’s API.
- 4. Store the App Store Connect API key securely: initially in Codemagic’s portal (72‑character reference token), then move it to an encrypted environment‑variable group to avoid empty key files.
- 5. Run the build: the cloud Mac performs the five tasks, produces an .ipa, signs it, and uploads it to App Store Connect.
- 6. Verify the build status in TestFlight and App Store Connect.
- 7. Iterate until successful (Build #4).
- 8. Deploy the final button workflow for ongoing releases.
Evidence
We were using GitHub Actions' Mac runners. It worked, but: We'd burned 1,826 of 2,000 included minutes by the morning of Oct 20.
Codemagic — the button lane. 500 free macOS minutes a month on M2 Macs for individuals. It has an API, so a button in an app can trigger a real build.
Build #4 succeeded end to end in 3 minutes flat. Key valid, archive signed, uploaded. At 4:43 PM ET on Oct 20, Steamy Dumplings build 16 landed VALID in App Store Connect.
- Record date: 2026-10-21T19:26:15.891Z