Can You Install Xcode on Windows 10?

No. Xcode is Apple’s app for making iPhone and Mac apps, and it only runs on macOS on a Mac. There’s no Windows version. On Windows 10 you can write iPhone apps in Microsoft’s Visual Studio, but you still need a Mac on your network to build them.

Applies to: Windows 10. Checked against Microsoft Learn on September 28, 2026.

Why it won’t work

  • Xcode is made only for macOS.
  • Guides that tell you to run macOS in a virtual machine on a Windows PC aren’t allowed by Apple’s license, which only permits macOS on Apple computers, and they often break with updates. We don’t recommend them.

What you can do instead

Build iPhone apps with Visual Studio and a Mac. Microsoft’s .NET MAUI lets you write the app on Windows 10. Visual Studio then connects to a Mac that has Xcode to build and test it.

  1. Install Visual Studio and, in the installer, check the .NET Multi-platform App UI development workload.
Visual Studio Installer with the .NET Multi-platform App UI development workload checked
Check the .NET Multi-platform App UI development workload (1), then select Install (2).
  1. On the Mac, install Xcode and turn on Remote Login in its sharing settings.
  2. In Visual Studio, select Tools > iOS > Pair to Mac, choose your Mac, and connect.
Visual Studio Pair to Mac window with a Mac selected and the Connect button
Select your Mac (1), then select Connect (2).

Or make a web app. Web apps run on iPhones and PCs alike, and you can start on Windows 10 right away. See do you need to install JavaScript on Windows 10?

Or practice coding on Windows first. The basics carry over. See how to compile and run a C program in Windows 10.

Frequently asked questions

Can I publish to the App Store from Windows only?

No. Building and signing iPhone apps needs Apple’s tools, which run on a Mac.

Do I need my own Mac?

You need access to one on your network while you build. It can be shared.

Microsoft’s reference is Pair to Mac for iOS development. More help is on our Windows Help & Guides page.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy