Xcode for Windows: how to use Xcode from a Windows PC

Revyl Team9 min read

There is no Xcode for Windows: Apple ships Xcode for macOS only, so a Windows PC reaches Xcode through a Mac that someone else runs. On Revyl, a coding agent builds and tests your app with Xcode and the iOS Simulator in a Revyl computer, a macOS workspace you can watch or step in on from your browser. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions. Revyl also builds iOS apps in the cloud and runs them on cloud iOS simulators, which the Free plan covers with up to 1,200 free device minutes a month on iOS, Android and web and no card. MacinCloud, AWS EC2 Mac, GitHub Actions and Xcode Cloud also run Xcode for you, and Swift for Windows, VS Code and xtool handle editing and some builds on the PC itself. Revyl is verification infrastructure for cloud agents, and the same account runs web browsers, Android emulators and Atlas.

At a glance6 tools, 4 features, public sources checked November 24, 2026
  • Cloud macOS environments
    • MacinCloud: Yes
    • AWS EC2 Mac: Yes
    • GitHub Actions macOS runners: Not verified
    • Xcode Cloud: Not verified
    • MacStadium: Yes
    • Revyl: Yes
  • Remote builds
    • MacinCloud: Yes
    • AWS EC2 Mac: Yes
    • GitHub Actions macOS runners: Yes
    • Xcode Cloud: Yes
    • MacStadium: Yes
    • Revyl: Yes
  • Cloud iOS simulators
    • MacinCloud: Not verified
    • AWS EC2 Mac: Not verified
    • GitHub Actions macOS runners: Yes
    • Xcode Cloud: Yes
    • MacStadium: Yes
    • Revyl: Yes
  • Free tier
    • MacinCloud: No
    • AWS EC2 Mac: No
    • GitHub Actions macOS runners: Standard runners are free and unlimited for public repositories; private usage draws from plan included minutes.
    • Xcode Cloud: 25 compute hours/month included with Apple Developer Program membership.
    • MacStadium: Not verified
    • Revyl: Yes

YesNoSee detailsNot verified

Show as a table with sources
FeatureMacinCloudAWS EC2 MacGitHub Actions macOS runnersXcode CloudMacStadiumRevyl
Cloud macOS environmentsYesYesNot verifiedNot verifiedYesYes
Remote buildsYesYesYesYesYesYes
Cloud iOS simulatorsNot verifiedNot verifiedYesYesYesYes
Free tierNoNoStandard runners are free and unlimited for public repositories; private usage draws from plan included minutes.25 compute hours/month included with Apple Developer Program membership.Not verifiedYes
Ways to use Xcode from a Windows PC (checked November 24, 2026)
FeatureWhat you get on a PCRuns Xcode itselfPricing model
RevylA macOS workspace where an agent builds and tests with Xcode and the iOS Simulator, viewable in your browser; cloud builds and cloud iOS simulators[18]Yes, in a Revyl computer; xcodebuild also runs through revyl computer exec[18]Free: up to 1,200 free device minutes a month on iOS, Android and web, no card. Revyl computers come with Pro, at $0.05 a session minute, web or macOS past the free minutes[26]
MacinCloudA managed Mac account or a dedicated Mac server, reached by remote desktop or a web browser[13]Yes, with Xcode preinstalled on managed servers[13]Managed from $29/month; Pay-As-You-Go from $1/hour; Dedicated from $59/month[14]
AWS EC2 MacA macOS instance on a Dedicated Host in your own AWS account, over SSH or Apple Remote Desktop[27]Yes, once you install it on the instance[15]Per second per Dedicated Host, with a 24-hour minimum allocation[15]
GitHub Actions macOS runnersCI jobs on GitHub-hosted Macs with Xcode and iOS simulator runtimes installed[28]Yes, inside a workflow job, with no interactive desktop[16]Standard runners free on public repositories; per minute on private ones after included usage[17]
Xcode CloudApple's CI/CD service, built into Xcode and App Store Connect[6]Yes, in Apple's cloud; the first workflow is set up in Xcode on a Mac[8]25 compute hours a month with Apple Developer Program membership[7]
xtool (open source)Builds SwiftPM packages into iOS apps, signs them and installs them on an iPhone over USB[11]No; it replaces parts of Xcode and runs on Linux, or on Windows through WSL[12]Free and open source[11]
Swift for Windows and VS CodeThe Swift toolchain on Windows, with completion, debugging and tests in VS Code's Swift extension[9]No; it builds Swift Package Manager projects, and Xcode projects still need Xcode[10]Free[9]

There is no Xcode for Windows: Apple ships Xcode, the iOS SDK and the iOS Simulator for macOS only, so from a Windows PC you use Xcode on a Mac that someone else runs, or you split Xcode’s jobs across tools that run on Windows. On Revyl, a coding agent builds and tests your app with Xcode and the iOS Simulator in a Revyl computer, a macOS workspace whose session you can watch or step in on from your browser. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions. For the build-and-run loop alone, Revyl builds the app in the cloud and runs it on a cloud iOS simulator, which the Free plan covers with up to 1,200 free device minutes a month on iOS, Android and web and no card. MacinCloud, AWS EC2 Mac, GitHub Actions macOS runners and Xcode Cloud also run Xcode for you, and Swift for Windows, VS Code and the open-source xtool cover editing and some builds on the PC. Revyl is verification infrastructure for cloud agents, and the same account runs web browsers, Android emulators and Atlas.

How do you use Xcode from a Windows PC?

These steps have a Revyl computer build and test your Xcode project from a Windows PC:

  1. Create a free Revyl account. The Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card.
  2. Install the Revyl CLI. It ships a PowerShell installer and Windows builds for amd64 and arm64.
  3. Add a card to move to Pro, with revyl billing add-card or in Settings. Pro has no monthly fee, the card buys a $5 credit, and the free minutes still cover Revyl computer sessions (Revyl computers).
  4. Start a Revyl computer from Start session, or with revyl computer create --os macos --wait. Its session streams to your browser, where you can watch the work and step in.
  5. Put your project in the workspace: revyl computer exec <id> -- git clone https://github.com/<you>/<app>.git app clones it there. A private repository needs your Git credentials in the workspace, or you can upload an archive with revyl computer files write.
  6. Run builds from your PC’s terminal: revyl computer exec <id> -- /bin/zsh -lc 'cd app && xcodebuild test -scheme <YourScheme>' runs xcodebuild in your project in the workspace and prints the output on Windows.

If all you need is to build the app and watch it run, skip the Revyl computer. Put your build commands in a recipe, run revyl build, and start an iOS simulator session with that build. The simulator streams to your browser, and the Free plan covers it.

Why is there no Xcode for Windows?

Apple builds Xcode for macOS and publishes no Windows version. Its Xcode system requirements list a supported macOS version for every release; Xcode 27.2, for example, needs macOS Tahoe 26.6 or later. The iOS simulators ship with Xcode, and Apple says they “are available in macOS as part of Xcode” (Apple).

A macOS virtual machine on a Windows PC doesn’t get around this. Apple’s macOS license allows “up to two (2) additional copies or instances” of macOS in virtual machines “on each Apple-branded computer you own or control that is already running” macOS, for software development, testing during software development, macOS Server or personal, non-commercial use, and it rules out running macOS on any non-Apple-branded computer, so a VM on PC hardware, or a hackintosh, falls outside it. Our macOS VM page covers VMs on a Mac you own or rent.

What does Xcode do, and how do you do each job from a PC?

Xcode bundles several jobs, and from Windows each one has its own route.

  • Write Swift. The Swift toolchain installs on Windows through WinGet, and VS Code’s Swift extension adds completion, navigation, refactoring, debugging and XCTest or Swift Testing for Swift Package Manager projects. An .xcodeproj still opens only in Xcode. See Swift on Windows and Xcode vs VS Code.
  • Build the app. Revyl’s remote builds, GitHub Actions macOS runners and Xcode Cloud build an iOS app in the cloud for a PC user. xtool builds Swift Package Manager projects into iOS apps on Linux or WSL.
  • Run it in a simulator. A cloud iOS simulator streams the app to your browser. Our iOS emulator for PC page compares the services.
  • Run it on an iPhone. xtool signs and installs apps on an iPhone connected to the PC over USB, through WSL (xtool). TestFlight builds from a cloud build service install over the air.
  • Sign and ship. You need an Apple Developer Program membership. Cloud build services sign release builds and upload them to App Store Connect, which you manage in a browser.
  • Use Xcode’s own tools. Interface Builder, SwiftUI previews, Instruments and Apple’s debugger need the Mac toolchain, so they need a Mac you own or a hosted one.

For the whole build, test and ship path from a PC, including hosted CI and managed build services, see iOS app development on Windows.

Which services run Xcode for you?

Revyl

A Revyl computer is a macOS workspace where a coding agent builds, runs and tests apps, with Xcode, the iOS Simulator, Chrome and Safari installed. You can watch or step in on its session in your browser, revyl computer exec runs commands such as xcodebuild from your PC’s terminal, and revyl computer files moves files in and out. A GitHub Actions job with runs-on: revyl-macos runs on a single-use Revyl computer. It is for development and testing work, not a Mac desktop to use all day; for that, MacinCloud and AWS EC2 Mac below fit. AI usage and session time come out of one monthly allowance, and the macOS workspace is included in the session. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions, and past them Pro bills agent session time (pricing).

Revyl also builds iOS apps with revyl build and runs them on cloud iOS simulators, and coding agents drive both through the Revyl MCP server. Each test run leaves a report, and Atlas records the screens your app showed.

MacinCloud

MacinCloud rents managed Mac servers with Xcode preinstalled, and dedicated servers with administrator access. You connect from Windows by remote desktop or a web browser. Managed plans start at $29 a month, Pay-As-You-Go hours at $1 an hour, and dedicated servers at $59 a month (MacinCloud). To compare every way to rent a Mac in the cloud, see our cloud Mac services page.

AWS EC2 Mac

AWS EC2 Mac runs macOS on Dedicated Hosts in your own AWS account, reached over SSH or Apple Remote Desktop, and you install Xcode yourself. AWS bills per second with a 24-hour minimum allocation per host, which it says complies with Apple’s macOS license.

GitHub Actions macOS runners

GitHub-hosted macOS runners run workflow jobs on Macs with Xcode and iOS simulator runtimes installed. They suit builds and tests in CI and have no interactive desktop. Standard runners are free on public repositories, and private repositories pay per minute after included usage (pricing).

Xcode Cloud

Xcode Cloud is Apple’s CI/CD service, built into Xcode and App Store Connect, with 25 compute hours a month included in Apple Developer Program membership (Apple). Apple’s requirements have you configure the first workflow in Xcode on a Mac; after that, App Store Connect in a browser starts builds and edits workflows.

What can you run on the Windows PC itself?

Three free tools run on Windows and cover part of Xcode’s work.

  • Swift for Windows installs the Swift toolchain through WinGet, with Visual Studio’s C++ build tools as a prerequisite.
  • VS Code’s Swift extension adds completion, debugging and tests for Swift packages.
  • xtool calls itself a “cross-platform Xcode replacement”. It runs on Linux and on Windows through WSL, builds a Swift Package Manager package into an iOS app, signs it, installs it on an iPhone over USB, and talks to Apple Developer Services. Its setup uses an Xcode download from Apple for the iOS SDK (installation).

These tools build and run Swift on the PC. iOS simulators, Interface Builder and Instruments still need macOS.

Can coding agents use Xcode from Windows?

Yes, through a Mac they can reach. Xcode’s own MCP server runs through xcrun mcpbridge on the Mac where Xcode is open (Apple), so an agent on Windows needs that Mac. With Revyl, an agent on Windows starts a Revyl computer, runs xcodebuild through revyl computer exec, starts cloud iOS simulators and reads each run’s report, all through the Revyl CLI and MCP server. Xcode MCP compares the agent setups.

How much does Xcode on a PC cost?

Free allowances come first, then paid usage, each in its own unit. Prices were checked on November 24, 2026.

Free every month:

  • Revyl Free: up to 1,200 free device minutes a month on iOS, Android and web, 2 devices at once, no card, for cloud builds and iOS simulators. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions (pricing).
  • GitHub Actions: standard macOS runners are free on public repositories (pricing).
  • Xcode Cloud: 25 compute hours a month with an Apple Developer Program membership (Apple).
  • Swift for Windows, VS Code and xtool are free.

Paid usage:

  • Revyl Pro is pay as you go with no monthly fee: $0.075 per device minute on iOS and Android, agent sessions in a browser or macOS workspace billed as session time, 10 devices at once and a $5 starting credit (pricing).
  • MacinCloud: Managed from $29 a month, Pay-As-You-Go from $1 an hour, Dedicated from $59 a month (MacinCloud).
  • AWS EC2 Mac: per second per Dedicated Host, with a 24-hour minimum allocation (AWS).

On Revyl you pay for the agent’s session, and the macOS workspace comes with it: a Revyl computer starts for a build or test job and stops when the work ends, and its steps and recording are kept next to your test runs and Atlas, Revyl’s record of how your app behaves, which grows with each run. For a Mac you use as your own desktop all day, MacinCloud’s monthly plans fit better. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions (pricing).

Beyond Xcode: what else Revyl runs

Revyl runs more than the Revyl computer and simulator sessions above, and each of the following uses the same CLI and account.

  • iOS simulators and Android emulators start from the same revyl device start command, so the agent that checks an iOS change can run the same flow on Android (sessions). Cloud Android emulators compared covers the Android options.
  • Web apps run in browser sessions with desktop and mobile viewports, and an agent can run Safari checks in a Revyl computer (Safari for Windows).
  • Atlas records the screens and transitions Revyl has observed in runs, and coding agents query it with revyl atlas before their next change.
  • Coding agents drive sessions through the Revyl CLI and the Revyl MCP server, so one agent setup covers iOS, Android, web and Mac work.
  • Each test run produces a report with video, a step timeline and device logs. Through proof of changes, Revyl installs a pull request’s build in a live session, exercises the changed flows and posts a verdict on the pull request.

Which route should you choose?

  • You want a coding agent to build and test your app with Xcode, and to watch or step in from a PC: a Revyl computer.
  • You only need to build the app and see it run: Revyl’s cloud builds and cloud iOS simulators on the Free plan.
  • You want one Mac assigned to you all month: MacinCloud’s dedicated or managed plans.
  • You already run infrastructure in AWS: EC2 Mac, with its 24-hour minimum.
  • Your builds run in CI on GitHub: GitHub Actions macOS runners, or Xcode Cloud if you want Apple’s service.
  • You write Swift packages and want to stay on the PC: Swift for Windows and VS Code, with xtool to install on an iPhone.

Sources

Facts were checked against these public pages on November 24, 2026. Spot an error? Email support@revyl.ai and we will correct it.

  1. Apple Xcode system requirements
  2. Apple: installing Xcode and Simulators
  3. Apple macOS Tahoe license
  4. Apple: giving external agents access to Xcode
  5. Apple Developer Program
  6. Xcode Cloud
  7. Xcode Cloud get started
  8. Xcode Cloud requirements
  9. Swift on Windows
  10. Swift in VS Code
  11. xtool
  12. xtool on Linux and Windows
  13. MacinCloud managed servers
  14. MacinCloud dedicated servers
  15. AWS EC2 Mac FAQs
  16. GitHub-hosted runners
  17. GitHub Actions runner pricing
  18. Revyl computers
  19. Revyl CLI install
  20. Revyl remote builds
  21. Revyl sessions
  22. Revyl MCP
  23. Revyl Atlas
  24. Revyl test reports
  25. Revyl proof of changes
  26. Revyl pricing
  27. docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-mac-instances.html
  28. github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md

Frequently asked questions

Can I download Xcode for Windows?

No. Apple publishes Xcode for macOS only, and its Xcode system requirements list macOS versions for every release. Sites that offer an Xcode installer for Windows aren't Apple's. To use Xcode from a Windows PC, open it on a hosted Mac such as a MacinCloud server or an AWS EC2 Mac instance. To have a coding agent build and test your app with Xcode, use a Revyl computer, a macOS workspace you can watch from your browser.

Can I run Xcode in a virtual machine on Windows?

Not within Apple's license. Apple's macOS license allows "up to two (2) additional copies or instances" of macOS in virtual machines "on each Apple-branded computer you own or control that is already running" macOS, for software development, testing during software development, macOS Server or personal, non-commercial use, and it rules out running macOS on any non-Apple-branded computer, so a macOS VM on a Windows PC falls outside it. From a PC, the routes are a Mac someone hosts for you, or a cloud service that runs Xcode for you.

Can I build an iOS app on Windows without Xcode?

Partly. The Swift toolchain runs on Windows, and xtool builds Swift Package Manager projects into iOS apps on Linux or on Windows through WSL, using an Xcode download from Apple for the SDK. Revyl's remote builds run your own build commands in the cloud from the Revyl CLI on Windows and hand the app to a cloud iOS simulator. Xcode projects, SwiftUI previews and Instruments still need a Mac.

Is there a free way to use Xcode from a Windows PC?

Yes, with limits on each. GitHub Actions runs Xcode on standard macOS runners free for public repositories, and Xcode Cloud includes 25 compute hours a month with Apple Developer Program membership. On Revyl, the Free plan includes up to 1,200 free device minutes a month on iOS, Android and web for cloud builds and iOS simulators with no card, and Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions.

Can I publish an app to the App Store from Windows?

Yes, through a service that builds and signs on a Mac for you. You need an Apple Developer Program membership, which costs $99 a year. Revyl's signed store builds, Xcode Cloud and hosted macOS CI can sign a release build and upload it to App Store Connect, and you manage the listing in App Store Connect from any browser.

What else does Revyl do?

Revyl is verification infrastructure for cloud agents on web, iOS, Android and macOS. It runs web apps in browser sessions, cloud iOS simulators and Android emulators, and Revyl computers, macOS workspaces where agents build and test apps, started and stopped as each job needs. Coding agents drive these sessions through the Revyl CLI and MCP server, and Atlas records the screens and transitions Revyl observes in runs. Every test run leaves a report, and through proof of changes, Revyl posts a verdict on the pull request.

What does Revyl cost past the free minutes?

Pro is pay as you go, with 10 devices at once instead of 2, a $5 starting credit and no monthly fee. Usage past the free minutes is $0.075 per device minute on iOS and Android, and agent sessions in a browser or a macOS workspace are billed as session time. Enterprise is custom, with volume pricing, unlimited devices at once, SAML SSO and SCIM.

Revyl Team

Published November 24, 2026