Your game already runs on Android. The iOS build is the last thing left, and you're on Windows. Unity's own documentation sums up the problem in one line: building for iOS is a two-step process, and the second step needs Xcode, which only runs on macOS.
We went through the whole thing ourselves. We took a sample project from Unity Hub, opened one of our MacBook Air M1 machines with 8 GB of memory in a browser tab on an ordinary Windows laptop, and got the game running in the iPhone Simulator. Below are the steps, how long each one took, and where we got stuck.

The short answer
You can't finish an iOS build on Windows. Unity can export the Xcode project there, but compiling, signing and uploading to the App Store happen in Xcode. You need a Mac: your own, a cloud build service, or a Mac you rent for a day.
What you can do on Windows, and what needs a Mac
On Windows:
- build the whole game in the Unity Editor;
- install the iOS Build Support module and export the Xcode project;
- test the gameplay in the Editor or on Android.
Needs a Mac:
- building the exported project in Xcode;
- running
pod installif the project uses CocoaPods plugins, such as Firebase or ad SDKs; - signing the app with your Apple Developer certificate;
- running the game in the iPhone Simulator;
- archiving the build and uploading it to TestFlight and the App Store.
Your options
Unity Build Automation. Unity's own cloud builds. Since March 2026 the free tier includes 100 minutes a month on a Mac machine, then you pay per minute. It's convenient once your project builds cleanly. It's hard when it doesn't: you only see logs, and every retry costs minutes. For scale: in our test, the Unity export alone took 30 minutes.
GitHub Actions with GameCI. Flexible, but before the first build works you'll spend time on the workflow file, the Unity licence and the signing secrets.
Buy a Mac mini. Worth it if you ship iOS updates every week.
Rent a Mac for a day. For the first build, when you need to see Xcode's errors with your own eyes, sort out signing and check the game in the Simulator. Once the project has built once, setting up a cloud build is much easier.
How we did it, step by step
1. Start the Xcode download
Start with Xcode, because it takes the longest to download. Open the App Store, sign in with your Apple Account and install Xcode. Ours was version 27.2, and it's 10.35 GB.

On first launch, Xcode offers to download the iOS Simulator, another 8.3 GB. Say yes: without it, there's nothing to run the game on.

2. Install Unity with the iOS module
While Xcode downloads, install Unity Hub and, through it, the Unity Editor. We used the recommended version, Unity 6.6.

The part that matters is the iOS Build Support module. Without it, iOS simply doesn't appear in the build settings. If you skipped it, add it later: Installs → the gear next to your version → Add modules.
3. Switch the project to iOS
For the test we used a ready-made sample from Unity Hub, the Universal 3D sample: a scene with several rooms. You open your own game the same way.

In Unity 6 this happens in File → Build Profiles:
- Press Add Build Profile and choose iOS.
- Select the iOS profile in the list and press Switch Profile. Unity reimports the assets for iOS; for us that took a few minutes.

4. Check Player Settings
In the same window, open Player Settings, and under Other Settings:
- enter a Bundle Identifier, for example
com.yourname.yourgame; - set Target SDK to Simulator SDK to test in the Simulator, or Device SDK for a real iPhone and TestFlight.

Target SDK is easy to miss. If you export with Device SDK, the project won't run in the Simulator, and you'll have to export again.
5. Export the Xcode project
Press Build and choose an empty folder. Unity creates an Xcode project there: Unity-iPhone.xcodeproj and folders such as Classes, Data and Libraries.

On a MacBook Air M1 with 8 GB of memory this took 30 minutes 43 seconds. Unity converts all of the game's code to C++ (on iOS it always uses IL2CPP), and that's the heavy part. A Mac with 16 GB will be faster.
If you export on Windows, zip the folder and move it to the Mac. With JustMac.app you can drag the zip straight onto the Mac's screen in the browser tab, up to 8 GB at a time.
6. Check for a Podfile
If the folder has a Podfile, the project uses CocoaPods plugins. Run pod install in that folder in Terminal, and from then on open the .xcworkspace file, not the .xcodeproj.
The clean sample had no Podfile, so we skipped this step.
7. Open the project in Xcode and run it
Double-click Unity-iPhone.xcodeproj. At the top, choose a Simulator (we picked iPhone 18 Pro) and press ▶ Run.
The Xcode build took about 10 minutes. Then the Simulator opened and the game started: that's the picture at the top of this article.
Our sample scene is landscape, so at first it showed up sideways. You can rotate the Simulator with Device → Rotate Left.
Where we got stuck
The Signing & Capabilities tab kept loading forever. Xcode takes a long time to index a large Unity project, especially with 8 GB of memory, and the signing screen just spun. You don't need signing for the Simulator: we pressed ▶ Run without waiting, and the game built. You'll need signing for a real iPhone and TestFlight: add your account in Xcode → Settings → Accounts, then pick your team in Signing & Capabilities.
iOS wasn't in the list of platforms. The iOS Build Support module wasn't installed. Add it in Unity Hub, then restart Unity.
Other common errors:
- Missing Pods or "No such module". You opened
.xcodeprojinstead of.xcworkspace, or didn't runpod install. - Signing errors. No team selected, or the Bundle Identifier in Unity doesn't match the one in your Apple Developer account.
- App Store Connect rejects the upload. Apple requires builds made with a recent Xcode. Update Xcode from the App Store.
How long it took
| Step | Time |
|---|---|
| Downloading Xcode (10.35 GB) and the Simulator (8.3 GB) | In parallel with everything else |
| Unity export, MacBook Air M1 8 GB | 30 min 43 s |
| First build in Xcode | About 10 minutes |
From the first install to the game in the Simulator took about two and a half hours, and most of that was waiting for downloads.
Which Mac to use
Unity projects are heavy. A MacBook Air M1 with 8 GB works, but slowly, and Xcode lagged noticeably while indexing. For a Unity game, a Mac mini with 16 GB of memory is the better choice.
Need a Mac for one iOS build? JustMac.app rents dedicated Mac minis and MacBooks by the day, and the desktop opens in a browser tab. Questions about any of the steps above? Email us and we'll help.