Blog· What you can do with your Mac mini·

Build a Unity iOS game on Windows: finish it on a cloud Mac

Unity on Windows exports your iOS game as an Xcode project, but only a Mac can compile, sign and upload it. Here is the full route with a cloud Mac mini.

A violet game controller resting on a compact silver mini desktop computer, with a floating cube and a golden star

You made your game in Unity on a Windows PC. The Android build runs, the PC build runs, and now you want it on iPhone. You switch the build target to iOS, press Build, and Unity hands you a folder instead of an app. That folder is an Xcode project, and Xcode only runs on macOS. Unity’s own documentation says it plainly: without a Mac you can’t build an iOS application locally.

The good news is that you only need a Mac for the last mile. You can keep designing, scripting and testing on Windows, and use a cloud Mac mini to compile, sign, test on the iOS Simulator and upload to the App Store. This guide walks through both ways of doing it, step by step.

What Unity does on Windows, and what it leaves for the Mac

Unity’s iOS build pipeline has two halves:

  1. Unity exports an Xcode project. With the iOS Build Support module installed, Unity on Windows can turn your scenes, scripts and assets into a complete Xcode project. Your C# code is converted to C++ by IL2CPP, and the project gets three targets: Unity-iPhone (the app launcher), UnityFramework (the runtime) and GameAssembly (your converted code).
  2. Xcode builds the app. Xcode compiles that C++ code, links it, signs it with your Apple certificate and produces the app you install on an iPhone or upload to App Store Connect.

Step one works on Windows. Step two needs macOS. On a Mac, Unity’s “Build and Run” does both in one click; on Windows it stops after step one.

There is also a hard rule from Apple to keep in mind: apps uploaded to App Store Connect must be built with Xcode 26 or later using the iOS 26 SDK. Whatever route you choose, the final build must happen on a Mac with a recent Xcode.

Two routes, one Mac

You can split the work in two ways:

  • Route A: export on Windows, build on the Mac. You keep Unity only on your PC. You export the Xcode project, copy it to the Mac and finish there. Quick to set up, good when you build for iOS now and then.
  • Route B: Unity on the Mac too. You install Unity on the Mac as well, pull your project from Git and build there. Unity’s “Build and Run” then works end to end, and you avoid surprises from projects exported on another system. Unity’s forums have reports of AR Foundation projects exported from Windows that Xcode would not build correctly, for example. Better for regular iOS releases.

Both start the same way.

What you need

  • Your Unity project, ideally in Git (GitHub, GitLab or any other host).
  • An Apple Account. A free one is enough to try the game on your own iPhone. To publish on the App Store, use TestFlight, Game Center or in-app purchases, you need the paid Apple Developer Program.
  • A Mac. A SoloRack Mac mini M6 with 16 GB of memory, a 256 GB SSD and a 1 Gbit/s connection, in the datacenter closest to you among those available when you book. The whole machine is yours, with your own macOS administrator account.

Step 1: connect to your Mac and install Xcode

When your Mac is ready, My account shows how to reach it:

  • Remote desktop shows the Mac’s screen in a window on your PC. Use it for the App Store, Xcode and the Simulator.
  • SSH gives you a terminal, once you add your public SSH key in My account. The command is shown there and looks like this:
ssh -p <port> <user>@connect.solorack.com

Open the App Store on the Mac over remote desktop, sign in with your own Apple Account and install Xcode. When it finishes, open Xcode once and add the iOS platform when it asks, so the iOS SDK and the Simulator are ready. Then, in Terminal:

sudo xcode-select -s /Applications/Xcode.app
sudo xcodebuild -license accept
xcodebuild -version

sudo asks for your own macOS password, because you are an administrator on the Mac.

Route A: export on Windows, finish in Xcode

Export the Xcode project

On your Windows PC, open Unity Hub, go to Installs, and add the iOS Build Support module to your Unity version if it is not there yet. Then in the Unity Editor:

  1. Open File → Build Profiles, add an iOS profile and choose Switch Profile.
  2. In Player Settings, set your Bundle Identifier (for example com.yourstudio.yourgame) and the version and build numbers.
  3. Press Build and choose an empty folder, for example ios-build.

If you build again into the same folder, Unity asks whether to Replace it (delete everything and regenerate) or Append to it (regenerate Unity’s own files and keep your changes in the classes folder). Append only works with a project generated by the same Unity version.

Copy the project to the Mac

Zip the ios-build folder on Windows, then copy it over SSH from PowerShell. Windows 10 and 11 include scp; note that it takes the port with a capital -P:

scp -P <port> ios-build.zip <user>@connect.solorack.com:~/

On the Mac, unzip it with unzip ~/ios-build.zip -d ~/. Pushing the exported folder to a separate Git repository works too, if you prefer.

Build, sign and run

Open the project in Xcode. If your game uses plugins that pull in iOS libraries through CocoaPods (common with Firebase or ad network SDKs), Unity also writes a Podfile and you need CocoaPods on the Mac. Install Homebrew from its website, then:

brew install cocoapods
cd ~/ios-build
pod install

In that case, open the .xcworkspace file, not the .xcodeproj. Then:

  1. Select the Unity-iPhone target and open Signing & Capabilities.
  2. Tick Automatically manage signing and pick your Team. Add your Apple Account under Xcode → Settings → Accounts if it is not listed.
  3. Pick an iOS Simulator at the top of the window and press Run to play the game on a virtual iPhone.

To run on the Simulator, first set Target SDK to Simulator SDK in Unity’s iOS Player Settings before you export. For an App Store build, set it back to Device SDK.

Route B: Unity on the Mac too

If you build for iOS often, install Unity on the Mac as well. Unity’s system requirements list macOS 13 or newer on Apple silicon, so the Mac mini M6 is supported.

  1. Download Unity Hub from unity.com, sign in with your Unity ID and install the same Unity version you use on Windows, with the iOS Build Support module.
  2. Clone your project from Git. Xcode comes with Git, so it is already there:
git clone https://github.com/you/your-game.git
  1. Open the project in Unity Hub. The first import takes a while, as Unity rebuilds its Library folder for this machine.
  2. Switch to the iOS build profile and use Build and Run. Unity exports the Xcode project and Xcode builds it and runs it, in one step. On the Mac, the build settings also offer Run in Xcode as Debug or Release.

Your workflow becomes simple: work on Windows, commit and push, then on the Mac pull and build. Keep the Library folder out of Git (Unity’s standard .gitignore does this), so each machine keeps its own.

Build from the terminal

With Unity on the Mac, you can also script the whole thing over SSH. Unity can run in batch mode and call a static build method from one of your editor scripts:

/Applications/Unity/Hub/Editor/<version>/Unity.app/Contents/MacOS/Unity \
  -batchmode -quit -projectPath ~/your-game \
  -executeMethod BuildScript.BuildIOS -logFile ~/unity-build.log

BuildScript.BuildIOS is a method you write once in an Editor folder, calling BuildPipeline.BuildPlayer with the iOS target. After that, xcodebuild can compile and archive the exported project without opening Xcode at all. It is the same idea as a CI server, on a Mac that is yours alone.

Test on a real iPhone

The Simulator is great for quick checks, but games need a real device: touch controls, performance and the GPU behave differently. The easiest way from a cloud Mac is TestFlight:

  1. In Xcode, choose Any iOS Device as the destination, then Product → Archive.
  2. When the Organizer window opens, choose Distribute App → App Store Connect and upload.
  3. In App Store Connect, add yourself as a tester. The build appears in the TestFlight app on your iPhone, usually after a short processing time.

TestFlight needs the paid Apple Developer Program, the same membership you need to publish.

Publish on the App Store

The upload you made for TestFlight is the same build you submit for review. In App Store Connect, create your app’s page (name, description, screenshots, age rating, privacy details), select the build and send it for review. Our guide on uploading your app to the App Store without a Mac covers this part in detail.

Tips that save time

  • Use the same Unity version everywhere. Mixing versions between Windows and the Mac makes Append builds fail and can change your scenes.
  • Keep your Mac session open. When you are done, close the remote desktop window instead of logging out of macOS. If you restart the Mac from My account, it logs you back into your session by itself.
  • Watch the disk. Xcode, Unity and the Library folder of a big game all take space. Delete old exports and archives you no longer need.
  • Back up what matters. At the end of a rental, your account and files on the Mac are erased with no copies kept. Push your work to Git as you go, download your builds, and export your signing certificates before your plan ends.

Other ways people try

Some people send the Xcode step to a cloud build service. There you work through a build queue, and when a build fails you read logs instead of opening Xcode to see what went wrong. A dedicated Mac gives you the whole desktop: Xcode, the Simulator, the Organizer and a terminal, whenever you need them. For the bigger picture, see our guides to Xcode on Windows and renting a Mac for Xcode.

Ship your game to iPhone

Your game is already made. What stands between it and the App Store is one Mac with Xcode. Rent a Mac mini M6 from SoloRack and finish your iOS build from your Windows PC: from $3.73 a day on the monthly plan, $112 a month. The plan renews on its own until you turn renewal off in My account. All plans are on the pricing page.

Try SoloRack from ⁦$3.73⁩ a day

A dedicated Mac mini M6 on the monthly plan: ⁦$112⁩ a month. Prices in US dollars, VAT included where it applies.

Before you pay

The email you enter on the payment page becomes your account: you sign in to My account with that same address.

Payment is handled by Stripe through Link, its payment service: the payment page shows Link's name, and your bank statement will show LINK.COM* SOLORACK.

They show us how the site is used, including recordings of your visit; what you type stays hidden (PostHog, Google Analytics). These tools use cookies and start only if you say yes. You can change your mind at any time from the bottom of the page. If you say no to statistics, we only count your visit, without cookies. Cookie policy