Unity iOS Build Without a Mac: From Windows to the App Store
You built your game in Unity on Windows and now need the iOS version. Unity on Windows generates an Xcode project, but the last step needs a Mac. iOS Build Support, Player Settings, moving the Xcode project to a Mac, signing, Archive and common errors, step by step.
With Unity you ship Android, Windows and iOS versions from one project. On the iOS side, though, Unity's job is to generate an Xcode project; building, signing and uploading that project to the App Store happen in Xcode on macOS. This guide shows how a Unity developer on Windows gets an iOS build without buying a Mac.
Quick summary: generate the Xcode project in Unity on Windows with the iOS Build Support module, move it to a Mac you connect to remotely, sign and archive it in Xcode and upload it to App Store Connect. If you don't own a Mac, Mac mini rental gives you a whole Apple M6 Mac mini by the day, week or month, reserved only for you.
Options: which path fits you?
| Path | When it fits | Limit |
|---|---|---|
| Generate the Xcode project on Windows + build on a rented Mac | You want to keep developing on Windows | You move the project folder to the Mac each time |
| Install Unity directly on the rented Mac | You build for iOS often | Unity and Xcode together need disk space; regular cleanup needed |
| Unity's cloud build service | The project builds cleanly and you only need regular builds | Paid per build; no desktop access to debug Xcode errors |
For the first iOS release you usually fight with plugins, signing and permission settings. That's why doing the first setup on a Mac's desktop is the path with the fewest surprises.
1. Install the iOS Build Support module on Windows
In Unity Hub, go to Installs, click the gear icon next to your Unity version, choose Add modules and tick iOS Build Support. When the module is installed, open your project.
2. Switch the platform to iOS and fill in Player Settings
In File → Build Settings (in Unity 6, File → Build Profiles) select iOS and click Switch Platform. Then in Player Settings:
- Bundle Identifier: must match the record you created in App Store Connect (for example
com.studio.game). - Version and Build: increase the Build number for every upload; the App Store never accepts the same number twice.
- Target minimum iOS Version: not lower than what your plugins (ads, analytics, Firebase) require.
- Signing Team ID: if you enter the Team ID of your Apple Developer account, Xcode selects the team for you.
- Permission descriptions: if you use the camera, microphone or location, fill in the matching "Usage Description" fields; if they are empty, Apple rejects the upload.
3. Generate the Xcode project
Click Build and choose an empty folder (for example iOSBuild). Unity writes Unity-iPhone.xcodeproj and the required resources there. This step works on Windows; the folder is not an app yet, it is an Xcode project.
4. Move the project to the Mac
Compress the folder and copy it to the Mac over SSH. On Windows 10 and 11 these commands are built into PowerShell:
Compress-Archive -Path .\iOSBuild -DestinationPath iOSBuild.zip
scp iOSBuild.zip user@MAC_IP:~/
Unpack it on the Mac:
cd ~ && unzip -q iOSBuild.zip
For connection details and VNC settings see connect to a remote Mac with VNC and SSH.
5. Install dependencies on the Mac and open the project
If the project has a Podfile (plugins such as Firebase and ad SDKs use CocoaPods), install the dependencies first:
cd ~/iOSBuild
pod install
In that case open Unity-iPhone.xcworkspace in Xcode; without a Podfile, open Unity-iPhone.xcodeproj. You can install CocoaPods with Homebrew: brew install cocoapods.
6. Signing and Archive
- In Xcode select the Unity-iPhone target in the left list, open Signing & Capabilities, choose your team and keep Automatically manage signing ticked.
- In the device menu at the top select Any iOS Device (arm64).
- Create the archive with Product → Archive. When it finishes, the Organizer opens; upload with Distribute App → App Store Connect.
You can do the same over SSH from the command line:
xcodebuild -project Unity-iPhone.xcodeproj -scheme Unity-iPhone \
-configuration Release -destination 'generic/platform=iOS' \
-archivePath build/Game.xcarchive archive
To export an uploadable .ipa from the archive and send every release to TestFlight with one command, follow our upload to TestFlight with Fastlane guide.
7. Testing
The rented Mac is in a data centre, so you can't plug in your iPhone with a cable. For tests on a real device, upload the build to TestFlight and install it on your own iPhone. For a quick look at the interface, set Target SDK to Simulator SDK in Player Settings, make a separate build and run it in the iOS Simulator.
Common errors
- "Signing for 'Unity-iPhone' requires a development team": no team is selected on the Unity-iPhone target; check the Signing & Capabilities tab.
- "Library not found for -lPods...": you opened the
.xcodeproj; afterpod install, open the.xcworkspace. - Plugin minimum iOS version error: raise Target minimum iOS Version in Player Settings to what the plugin needs and generate the project again.
- Upload rejected with "Missing purpose string": a description for the camera, microphone or location is missing; fill it in Player Settings.
- Disk full: delete simulators you don't use and clean
~/Library/Developer/Xcode/DerivedData.
Which Mac rental plan?
To upload your first iOS version, renting a Mac for one day is often enough; if you expect plugin and permission fixes, the 3-day or weekly plan is more comfortable. If you ship updates all the time, take a monthly plan and install Unity directly on the Mac. For large game projects, plans with 24 GB or 32 GB RAM make builds easier. Current prices and stock: Mac mini rental.
Frequently Asked Questions
Can Unity build for iOS on Windows?
On Windows, Unity generates the Xcode project for iOS, but the final build, signing and App Store upload are done in Xcode on macOS. A Mac you connect to remotely is enough for that.
Can I install Unity on a rented Mac?
Yes. The Mac is delivered with an administrator (admin) account; you install Unity Hub and the Apple Silicon version of Unity yourself and sign in with your own Unity account and licence.
Do I have to zip and copy the project every time?
No. If you build often, it is more practical to pull the Unity project from your Git repository straight onto the Mac and run Unity there. Use Git LFS for large files.
What happens to my project when the rental ends?
Back up your project, certificates and archives before the rental ends. At the end of the rental the Mac is wiped and reset before the next customer.
You might also like
Running out of free Xcode Cloud hours, fighting Flutter or React Native setup scripts, or tired of not being a...
Your site is perfect in Chrome but broken in Safari on iPhone? There is no current Safari for Windows, and the...
How long should you rent a Mac to upload an iOS app to the App Store, get a Flutter build or set up a CI machi...