How to build and ship an iOS app without owning a Mac

Running Xcode on a remote Mac: installing Xcode, simulators and device testing, signing, and uploading to App Store Connect.

Updated Dec 2, 2026

How to build and ship an iOS app without owning a Mac

01What a remote Mac can do

iOS apps have to be built and submitted with Xcode on macOS. Without a Mac, you can rent a remote one: writing code, building, running simulators, archiving and uploading all happen on that Mac while you work from your own Windows PC or laptop. Apple’s software license explicitly allows a rented Mac to be used for development, building and testing.

You will also need an Apple Developer account ($99 a year for individuals) for signing, uploading and TestFlight.

02Installing Xcode

Download Xcode straight from Apple’s developer site (if your Apple Account works with the App Store, you can install it from there too). Your Mac account is a standard account without administrator rights, so Xcode goes in the Applications folder inside your home folder:

  1. In a browser on the Mac, open developer.apple.com/download and sign in with your Apple Account.
  2. Download the Xcode version you need (a .xip file), double-click to expand it, and drag Xcode into the Applications folder in your home folder (~/Applications), not the system Applications folder.
  3. When Xcode first opens, it asks to install additional components. This needs an administrator, so contact us and we will do it for you. Then download the iOS simulators you need from Xcode’s settings.

Xcode plus simulators take tens of gigabytes. Check free space first; the whole disk is 256GB, so delete old simulator versions you do not need.

03Simulators and device testing

  • Simulators work, using the full graphics acceleration of the Mac mini.
  • You cannot plug a phone into a remote Mac, so test on devices with TestFlight: upload a test build to App Store Connect and install it on your iPhone through TestFlight.

04Signing and uploading

The simplest way is to sign in to your Apple Account in Xcode’s settings: let Xcode manage signing automatically and upload from the Organizer after archiving. If you would rather not sign in to your Apple Account on the Mac, use an App Store Connect API key instead:

  1. In App Store Connect, go to Users and Access → Integrations, create an API key, download the .p8 file, and note the key ID and issuer ID.
  2. Put the .p8 file in ~/.appstoreconnect/private_keys/ on the Mac.
  3. When archiving with xcodebuild, add -allowProvisioningUpdates and pass the key with -authenticationKeyPath, -authenticationKeyID and -authenticationKeyIssuerID so signing is handled automatically.
  4. Upload the .ipa with xcrun altool --upload-app, adding --apiKey and --apiIssuer.

When you sign in to your Apple Account on the Mac, macOS asks whether to turn on Find My Mac, which needs an administrator password. Just click Cancel: your Apple Account still signs in, and iCloud and Messages work. Find My cannot be turned on for a rented machine.

05What about xtool, without a Mac?

xtool is an open-source (MIT-licensed) Xcode replacement. On Linux and Windows (through WSL) it builds a SwiftPM project into an iOS app, signs it and installs it on an iPhone connected by cable.

  • On Linux and Windows you first download the Xcode package (.xip) from Apple’s developer website for it to use.
  • There’s no iOS Simulator; the Simulator only runs on a Mac.
  • The current release can’t upload to App Store Connect or TestFlight yet; that feature is still in development (December 2026).
  • Projects have to use SwiftPM, and according to the project on GitHub some tools, such as storyboards, aren’t supported on Linux yet.

It’s handy for writing code on your own computer and trying the app on your phone. For the Simulator or for publishing to the App Store, you still need a Mac.

06A few tips

  • Keep your code in a Git repository and treat the Mac as a working copy. NexMini does not back up data.
  • For frequent large builds or several simulators at once, M6 is faster.
  • Before your rental ends, sign out of your Apple Account and delete certificates and key files.
  • For anything that needs an administrator, such as installing .pkg packages, changing system settings or Xcode’s first-launch components, contact us and we will do it for you.