Blog · iOS

Cloud Mac for iOS Development: How to Build & Sign Apps Without a Local Mac

Set up Xcode on a cloud Mac, sign with certificates and an App Store Connect API key, then archive and upload to TestFlight from the command line or fastlane.

A cloud Mac gives you everything Apple requires to build, sign and ship an iOS app, without a Mac on your desk. This guide covers the setup, code signing with certificates and API keys, and uploading to TestFlight and the App Store from a remote Mac.

What Apple requires in 2026

  • A Mac with Xcode. iOS apps are built and signed with Xcode on macOS. The current release is Xcode 27, which needs macOS Tahoe 26.6 or later.
  • A recent SDK. Since April 28, 2026, apps uploaded to App Store Connect must be built with Xcode 26 or later and an iOS 26 (or newer) SDK. Apple has announced that from April 2027, uploads will need the iOS 27 SDK.
  • An Apple Developer Program membership. It costs $99 a year and gives you signing certificates, TestFlight and App Store distribution.

The Mac is the only piece that has to be Apple hardware. Your code editor, Git host, design tools and the rest of your team can stay on Windows or Linux. If you're new to the idea, How to Build iOS Apps Without Owning a Mac compares the options; this guide goes deeper into signing and shipping.

Step 1: Set up the cloud Mac

  1. Connect to your Mac's desktop with the remote access app listed under My Macs (see how to access a remote Mac).
  2. Install Xcode from the Mac App Store, or download a specific version from the Apple Developer website if your project needs it. Open it once to accept the licence and install the iOS platform.
  3. From Terminal, confirm the toolchain: xcodebuild -version and xcrun simctl list devices.
  4. Install the extras your project uses, for example brew install fastlane or CocoaPods, and clone your repository.

Because the Mac is yours alone, caches, simulators and DerivedData stay between sessions. That makes the second build much faster than the first.

Step 2: Sign in and let Xcode manage signing

For day-to-day work, the simplest route is automatic signing. Add your Apple account in Xcode → Settings → Accounts, select your team in the target's Signing & Capabilities tab, and tick Automatically manage signing. Xcode creates the certificate and provisioning profiles it needs.

Apple uses two kinds of certificate:

  • Apple Development runs your app on test devices during development. Development certificates belong to individual developers.
  • Apple Distribution signs builds for TestFlight and the App Store. Distribution certificates belong to the team, and only the Account Holder or an Admin can create them.

If your team already has a distribution certificate on another machine, export it with its private key as a .p12 file and import it into the cloud Mac's keychain, rather than creating a new one each time.

Step 3: Create an App Store Connect API key for automation

For scripts and CI, sign in with an API key instead of a password. In App Store Connect, an Admin opens Users and Access → Integrations → App Store Connect API, chooses Team Keys and clicks Generate API Key. You get:

  • a Key ID,
  • the Issuer ID shown on the same page,
  • a private key file (AuthKey_KEYID.p8) that you can download only once. Store it somewhere safe, outside your repository.

Use a team key: individual keys can't use the provisioning endpoints that automatic signing relies on.

Step 4: Archive, sign and upload from the command line

With the key on the Mac, xcodebuild can archive and upload without anyone clicking through Xcode:

xcodebuild archive \
  -workspace MyApp.xcworkspace -scheme MyApp \
  -configuration Release -destination 'generic/platform=iOS' \
  -archivePath build/MyApp.xcarchive \
  -allowProvisioningUpdates \
  -authenticationKeyPath ~/keys/AuthKey_KEYID.p8 \
  -authenticationKeyID KEYID \
  -authenticationKeyIssuerID ISSUER_ID

xcodebuild -exportArchive \
  -archivePath build/MyApp.xcarchive \
  -exportOptionsPlist ExportOptions.plist \
  -exportPath build \
  -allowProvisioningUpdates \
  -authenticationKeyPath ~/keys/AuthKey_KEYID.p8 \
  -authenticationKeyID KEYID \
  -authenticationKeyIssuerID ISSUER_ID

In ExportOptions.plist, set the method to App Store Connect and the destination to upload to send the build straight to App Store Connect, or to export to get an .ipa you upload with Transporter or xcrun altool. Run xcodebuild -help on your Mac to check the options your Xcode version supports.

Or use fastlane

Many teams wrap the same steps in fastlane:

  • app_store_connect_api_key loads your Key ID, Issuer ID and .p8 file once for the whole lane.
  • match keeps certificates and profiles in an encrypted Git repository (or cloud storage) and installs them on any Mac. Run it with readonly: true on build machines.
  • gym builds and exports the .ipa.
  • pilot (also called upload_to_testflight) uploads the build and can send it to tester groups.

Because match restores signing from one place, rebuilding a cloud Mac or adding a second one takes minutes rather than an afternoon of certificate wrangling.

Step 5: Test with TestFlight

Once a build has processed in App Store Connect, add it to TestFlight. Up to 100 internal testers from your team can install it straight away, and up to 10,000 external testers can join after the first build passes TestFlight review. Each tester can install on up to 30 devices. Testers on Windows-based teams just need an iPhone or iPad and the TestFlight app.

Run it as CI on the same Mac

A dedicated cloud Mac can also be your build server. Register it as a self-hosted runner for GitHub Actions, GitLab CI or Jenkins, keep the API key and match password in your CI secrets, and every merge to main can archive, sign and upload a TestFlight build. See macOS CI/CD runners for a runner setup.

Which Mac to choose

For a single app and occasional builds, a Mac mini M4 or M6 with 16GB is enough. Larger projects, several simulators and CI workloads benefit from 24GB or the Mac mini M5 Pro. Compare the chips in Apple M6 vs M5 Pro for developers.

Mac mini M4

16GB · 256GB SSD

Everyday iOS builds, CI runners and remote macOS.

from $119/mo

  • Monthly$149/mo
  • 6 months$139/mo
  • 12 months$119/mo
Order Mac mini M4

Mac mini M6

24GB · 512GB SSD

More memory and storage for larger projects and caches.

from $219/mo

  • Monthly$259/mo
  • 6 months$249/mo
  • 12 months$219/mo
Order Mac mini M6

Mac mini M5 Pro

24GB · 512GB SSD

Pro-class CPU and GPU for heavy builds and small models.

from $399/mo

  • Monthly$459/mo
  • 6 months$429/mo
  • 12 months$399/mo
Order Mac mini M5 Pro

Prices in USD per month for each machine's starting configuration. More memory, storage or several machines? Ask us.

FAQ

Can I publish to the App Store from a cloud Mac?

Yes. Xcode, signing and uploading work the same as on a Mac on your desk. You still need your own Apple Developer Program membership.

Do I need to create new certificates for the cloud Mac?

No. You can import your existing distribution certificate as a .p12 file, use fastlane match, or let Xcode's automatic signing manage it.

Can I run the iOS Simulator remotely?

Yes. The Simulator runs on the cloud Mac and you see it through the remote desktop, just like any other Mac app.

Is it safe to keep my API key on a rented Mac?

The Mac is dedicated to you and you control the admin account. Keep the .p8 file outside your repository, restrict its permissions, and revoke the key in App Store Connect if you stop using it.

cloud Mac for iOS developmentbuild iOS app without MacXcodecode signingApp Store Connect APITestFlightfastlane