Xcode for Windows: How to Build iOS Apps on Windows (2026)

Short answer. There is no Xcode for Windows, and Apple's licence allows macOS only on Apple hardware, so every iOS app is still built on a Mac somewhere. From a Windows PC you have five real options: rent a cloud Mac and use Xcode over remote desktop, use Xcode Cloud (25 hours a month come with the $99 Apple Developer Program), a CI service such as GitHub Actions or Codemagic, Expo EAS Build for React Native, or Flutter tooling that sends only the Apple steps to the cloud. If you write native Swift and need Xcode and the iOS Simulator every day, a rented Mac mini is the practical choice: today the cheapest cloud Mac mini M4 costs from €74 a month in Europe and $99.99 in North America. If you build with Flutter or React Native and only need a signed build now and then, the free allowances of the cloud build services may be enough.
Key facts (checked 31 October 2026)
- About 45% of visits to fidenubi.com in October 2026 came from Windows computers, against 24% from macOS: many people looking for a cloud Mac do not own one.
- Apple only accepts App Store uploads built with Xcode 26 or later (since 28 April 2026), and Xcode 27 runs only on Apple silicon Macs.
- A Mac mini M5 Pro builds the XcodeBenchmark project in 90 s, a Mac mini M4 in 185 s (Xcode 27): about 2.1 times faster.
- Build services charge by the minute: GitHub Actions $0.062 per macOS minute, Codemagic $0.095 after 500 free minutes a month.
- Cloud Macs are leased for at least 24 hours at a time, with sole use of the machine: Apple's licence requires it.
Why we wrote this
Our own site analytics answered the question for us. Of the visits recorded on fidenubi.com from 6 to 31 October 2026, about 45% came from Windows, 24% from macOS, 16% from iPhones and iPads, 12% from Linux and 3% from Android. Counting only computers, Windows is more than half. People who search for a cloud Mac are very often people without a Mac, and the most common reason is iOS development. Google's suggestions say the same: "xcode on windows", "ios development without mac", "build ios app on windows flutter" and "rent a mac for xcode" are all common searches.
Can you use Xcode on Windows?
No. There is no Xcode download for Windows: Xcode exists only for macOS. But only part of the work needs it. You can write code, design screens and run Android builds on Windows. Three steps need macOS and Xcode:
- Building and signing the iOS app. Apple accepts uploads only from Xcode 26 or later, built with the iOS 26 SDK, since 28 April 2026 (Apple).
- The iOS Simulator, which is part of Xcode.
- Uploading to TestFlight and the App Store, which build services can do for you.
Xcode 27 also needs macOS Tahoe 26.6 or later (Apple) and, as the next section shows, an Apple silicon Mac.
Can you run macOS on Windows? VMs and Hackintosh
Two Apple facts close the loopholes people ask about:
- Apple hardware only. The macOS licence is "for use on Apple-branded systems" and allows up to two extra virtual copies of macOS only on an Apple computer that already runs macOS (macOS Tahoe licence). A macOS virtual machine on a Windows PC is outside the licence.
- Apple silicon only. "Xcode 27 will only install and run on Apple silicon Macs," say Apple's release notes, quoted on the Apple Developer Forums. Hackintosh PCs run Intel or AMD processors, so they cannot run current Xcode, and neither can the Intel Macs that some providers still rent out.
Users on Reddit who tried a Hackintosh or a VM for iOS work mostly describe it as more hassle than it is worth (r/iosdev, r/iOSProgramming).
Swift on Windows: what works and what doesn't
The Swift language itself runs on Windows: swift.org publishes official Windows toolchains, installable with WinGet, with editor support in Visual Studio Code (swift.org), and a Swift Windows workgroup works on Windows support so that people can write Windows applications in Swift (swift.org). What you cannot do on Windows is build an iPhone app with it: the App Store only takes apps built with Xcode and Apple's iOS SDK, which come only on a Mac. Swift on Windows is good for learning the language and for shared logic; the iOS app still has to be built on a Mac.
5 ways to build iOS apps on Windows, compared
| Way | You get | Good for | Price (official pages, 31 Oct 2026) |
|---|---|---|---|
| Rent a cloud Mac | A whole Mac mini over remote desktop: Xcode, Simulator, debugger | Native Swift work, interviews and coding tests, daily development | from €74 a month for the cheapest M4 in our tables; some providers rent by the day |
| Xcode Cloud | Apple's own build service: build, test, TestFlight upload on each git push | Releasing apps you can already build; native and cross-platform | 25 compute hours a month included in the Apple Developer Program; then from $49.99 a month for 100 hours (Apple) |
| GitHub Actions | macOS build machines inside your CI | Teams already on GitHub | $0.062 per minute on a standard macOS runner, against $0.006 on Linux (GitHub) |
| Codemagic | Hosted builds on Mac minis, signing, store upload | Flutter and React Native | 500 free macOS M2 minutes a month, then $0.095 per minute on M2 or $0.114 on M4 (Codemagic) |
| Expo EAS Build | Cloud iOS builds for React Native/Expo apps | React Native with Expo | Free plan: 15 iOS builds; Starter $19 a month with $45 of build credit (Expo) |
All of them need the Apple Developer Program to publish: $99 a year (Apple).
What a build minute costs in practice, as an example: if one release build takes 10 minutes, 100 builds a month cost $62 on GitHub Actions; Codemagic's free 500 minutes cover about 50 of them; Xcode Cloud's 25 included hours cover about 150. Build services are cheap for releases and expensive for all-day work, because you pay for every minute and still have no desktop, simulator or debugger.
Which way fits your project
- Native Swift or SwiftUI: you need Xcode itself, with its editor, previews, simulator and debugger. Rent a cloud Mac (or buy one), and add Xcode Cloud for releases if you like. Users on Reddit asking how to do an Xcode coding test without a Mac get the same answer: CI runners only produce a build, so rent a Mac you can log into (r/iOSProgramming).
- Flutter: develop and hot-reload on Windows with Android, and send only the iOS steps to the cloud. A developer published open-source tooling that runs Flutter apps on a real iPhone from Windows or Linux and uses GitHub Actions, Codemagic or Bitrise for iOS builds, signing and App Store submission (r/FlutterDev). A cloud Mac becomes useful when you have to check plugins and layouts in the iOS Simulator.
- React Native with Expo: EAS Build compiles and signs iOS apps without your own Mac. Users warn that features such as background fetch, location tracking or on-device OCR are hard to test this way (r/iosdev).
- Unity or .NET: the engine produces an Xcode project that still has to be built on a Mac, so you need a cloud Mac or a CI service with macOS.
How fast is a Mac mini at building iOS apps?
XcodeBenchmark compiles the same large project on every Mac, with results submitted by owners. Here are the Mac minis, next to what the same chip costs to rent in our price tables.
| Mac mini | Build time | Cloud rent, Europea month | Cloud rent, North Americaa month |
|---|---|---|---|
| Xcode 27 | |||
| M5 Pro18-core CPU, 64 GB, 1 TB; Xcode 27.0, macOS 27.0 | 90 s1 min 30 s | €220Macyou, 24 GB | €260Time's Lab, 24 GB |
| M410-core CPU, 16 GB, 256 GB; Xcode 27.0, macOS 27.0 | 185 s3 min 05 s | €74GreenMini, 16 GB | €90Neolo, 16 GB |
| Xcode 26 | |||
| M4 Pro14-core CPU, 64 GB, 4 TB; Xcode 26.4, macOS 26.3.1 | 146 s2 min 26 s | €118MacHive, 24 GB | €302Unihost, 64 GB |
| Xcode 16 | |||
| M4 Pro14-core CPU, 24 GB, 512 GB; Xcode 16.1, macOS 15.1 | 96 s1 min 36 s | €118MacHive, 24 GB | €302Unihost, 64 GB |
| M4 Pro12-core CPU, 24 GB, 512 GB; Xcode 16.1, macOS 15.1 | 103 s1 min 43 s | €118MacHive, 24 GB | €302Unihost, 64 GB |
| M410-core CPU, 16 GB, 256 GB; Xcode 16.1, macOS 15.1 | 141 s2 min 21 s | €74GreenMini, 16 GB | €90Neolo, 16 GB |
| M2 Pro10-core CPU, 16 GB, 1 TB; Xcode 16.1, macOS 15.0.1 | 147 s2 min 27 s | €128HostMyServers, 16 GB | €225MacStadium, 16 GB |
- M5 Pro is about 2.1 times faster than the base M4 on Xcode 27. For a team that builds all day that adds up; for one developer the M4 is enough. More on Pro chips: Rent a Mac mini M4 Pro or M5 Pro.
- Memory matters more than the chip at the low end. In the Xcode 26 table the two machines with 8 GB of memory are by far the slowest: a MacBook Neo (A18 Pro) at 404 s and a MacBook Air M3 at 506 s, against 188 s for a MacBook Air M4 with 16 GB. Many of the cheapest cloud Macs are M1 or M2 with 8 GB: fine to try things, slow for real projects.
- Disk fills up. Owners of the base Mac mini M4 on Reddit say it handles Xcode, the simulator and many browser tabs well, and that the 256 GB disk is the real limit once several SDKs and simulators are installed (r/macmini, r/macmini).
- Android Studio on the same Mac needs more. One developer saw about 24 GB in use with Android Studio and the emulator, and called 16 GB workable only with little multitasking (r/macmini).
- No M6 yet. Nobody had submitted a Mac mini M6 result at our check, so we do not estimate it.
Rent a Mac in the cloud: what it costs and how it works
- Cheapest by chip today:
- M4: GreenMini, M4, 16 GB / 256 GB, from €74 a month excl. VAT in Europe; Neolo, M4, 16 GB / 256 GB, $99.99 a month (about €90.47) in North America.
- M4 Pro: MacHive, M4 Pro, 24 GB / 512 GB, £99 a month excl. VAT (about €118.48) in Europe.
- M6: SoloRack, M6, 16 GB / 256 GB, $112 a month incl. VAT (about €101.34) in Europe.
- By the day: for a one-off build or a coding test, some providers rent by the day, for example Roundfleet, M4, 16 GB / 256 GB, ~$3.36 a day (about €3.04).
- At least 24 hours, and the Mac is yours alone. Apple's licence lets a provider lease macOS only for a minimum of 24 consecutive hours, with the customer having "sole and exclusive use and control" of the machine during that time (macOS Tahoe licence, section 3). That is why you will not find a real Mac desktop by the hour.
- From Windows you connect over remote desktop (VNC or RDP clients) or SSH, depending on the provider. Users who started on cloud Macs years ago remember it as painful on slow connections; the same user notes that this was before today's fast connections (r/iosdev).
- Avoid Intel offers for iOS work: they cannot run Xcode 27. All offers with prices, chips and stock: Europe, North America.
Renting vs buying
A frequent answer on Reddit to Windows developers is "get a Mac mini if you can" (r/iOSProgramming), and for full-time iOS work that is often right. Renting makes sense when you are not sure the iOS version will pay off, need a Mac for a project or an interview, want to try a faster chip before buying, or work from several places. Some combine both: a Mac for daily work and Xcode Cloud for releases, which one user praised for archiving and uploading on every push even from a beta macOS (r/iOSProgramming).
Keep a real iPhone
Whatever you choose, test on a device before release. "A Mac in the cloud is still a Mac," one React Native developer wrote under a post about running the iOS Simulator in a browser, adding that they keep a cheap used iPhone because the last-mile device bugs never show up in a remote build (r/reactnative).
New to cloud Macs? Start with what a cloud Mac is and how to choose one.
Frequently asked questions
Is there Xcode for Windows?
No. Xcode only runs on macOS, and Apple's macOS licence allows macOS only on Apple-branded computers, including in virtual machines. Since Xcode 27 it also needs an Apple silicon Mac, which rules out Hackintosh PCs. From Windows you either use a Mac remotely (a cloud Mac) or let a cloud build service run Xcode for you.
Can I write Swift on Windows?
Yes, the language: swift.org publishes official Swift toolchains for Windows, with editor support in Visual Studio Code. But you cannot build an iPhone app there, because the App Store only accepts apps built with Xcode and Apple's iOS SDK, which run only on a Mac. Swift on Windows is useful for learning the language and for shared code; the iOS build still needs a Mac or a cloud build service.
Can I publish an iOS app to the App Store from Windows?
Yes, as long as the build itself runs on a Mac somewhere. Since 28 April 2026 Apple only accepts uploads built with Xcode 26 or later. You can write the app on Windows (Flutter, React Native, Expo) and let Expo EAS Build, Codemagic, GitHub Actions or Xcode Cloud build, sign and upload it, or connect to a rented cloud Mac and use Xcode yourself. You also need the Apple Developer Program, which costs $99 a year.
What is the cheapest way to build an iOS app without a Mac?
For occasional builds, the free allowances: Expo's free plan includes 15 iOS builds, Codemagic's free plan 500 macOS minutes a month, and Xcode Cloud 25 compute hours a month with the Apple Developer Program. For daily work in Xcode with the iOS Simulator, a rented cloud Mac mini with a flat monthly price is usually cheaper than paying per build minute.
Is a Mac mini M4 with 16 GB enough for Xcode?
Yes for most apps. In XcodeBenchmark a Mac mini M4 with 16 GB compiled the test project in 185 seconds on Xcode 27, and owners on Reddit report working daily with Xcode, the simulator and other apps on the base model; the 256 GB disk is the usual complaint. A Mac mini M5 Pro built the same project in 90 seconds. Avoid 8 GB machines: in the Xcode 26 results the two 8 GB Macs were the slowest by far.
Can I use a macOS virtual machine or Hackintosh on my Windows PC?
Not legally, and less and less in practice. The macOS licence permits macOS only on Apple-branded hardware and allows up to two extra virtual copies only on a Mac that already runs macOS. Xcode 27 installs and runs only on Apple silicon Macs, so Intel-based Hackintosh builds cannot run current Xcode at all.
Why can't I rent a cloud Mac by the hour?
Apple's macOS licence lets a provider lease a Mac only for at least 24 consecutive hours, with the customer having sole use of the machine during that time. That is why cloud Macs are sold by the day, week or month, and why per-minute macOS offers are build services, not desktops you can log into.
Do I still need a real iPhone if I build in the cloud?
For anything that depends on hardware or background behaviour, yes. Developers on Reddit recommend keeping a cheap used iPhone for the last-mile bugs that never show up in the simulator or a remote build, such as location tracking, background fetch or camera features.