How to develop iOS apps on Windows


iOS development on Windows

Want to develop applications for iOS on Windows? Don’t have a Mac at your disposal? If you don’t know where to start, we’ll tell you what you need for iOS development on Windows 10 and how to easily connect your iPhone or iPad to a guest macOS running on a Windows PC.

Table of contents:

  1. How to develop iPhone apps on Windows
  2. What is Xcode and why do you need it?
  3. Running Xcode on macOS in VirtualBox
  4. Dedicated software for linking VirtualBox with an iPhone/iPad
  5. How to connect iOS devices to VirtualBox. Step-by-step guide
  6. Top 5 alternative solutions for iOS development on Windows

How to develop iPhone apps on Windows


When you have an intention to write iOS apps on Windows, you should remember that the only platform that is compatible with the iOS SDK is macOS. This means the main developer tool for macOS, Xcode, can be used only with this operating system.

Below you’ll find a brief tutorial on how to make XCode work on Windows. To achieve your goal, you will need a Windows computer, a copy of macOS, an Apple ID, a dedicated software tool for redirecting iOS devices to a virtual environment (e.g. USB Network Gate), and a stable connection to the Internet.

Download USB Network Gate for FREE
14-day free trial

What is Xcode and why do you need it?


Xcode icon

As is mentioned before, the major software tool that can help you build an iOS app is Xcode, an integrated development environment (IDE) for macOS. It allows creating applications not only for iPhone and iPad but also for Mac, Apple TV, and Apple Watch. Among other things, Xcode offers an interface builder, a code editor, an asset management toolkit, and simulators of iOS devices. It gives you the ability to test the application that you are developing with no need to leave Xcode.

Xcode provides graphical tools for analyzing application performance, including those for diagnosing CPU usage and utilization of drives (HDD, SDD) and more.


Running Xcode on macOS in VirtualBox


Given that Xcode works only on macOS, a solution would be to install macOS on a Windows PC by means of a virtualization app such as VMware or VirtualBox.

Choosing between the two, most users opt for VirtualBox, as it is free and open-source, whereas VMware Workstation is proprietary software.

So, let's imagine that you decided to use VirtualBox. What you should do next is make sure that the Windows computer on which you are going to install it is:


  • A relatively powerful PC capable of operating smoothly with a virtual machine installed;

  • Its hardware is equivalent to that of MacBook, Mac Pro, or iMac;

  • It has a Dual-Core Intel processor and no less than 2GB of RAM.

When you are ready, install VirtualBox on your PC.

After the installation procedure is complete, start the app and select to install Mac OS X Server (x64). Allocate at least 2GB of RAM (4GB+ is recommended) and 30GB+ of hard disk space to your VM.

VirtualBox will make all required OS configurations automatically. You should only go to the Settings menu and change the following:

  • Leave unchecked the “Enable EFI” box in the System tab;

  • Choose two CPUs in the Processor tab;

  • Increase the video memory above 128MB in the Display tab.
Download USB Network Gate for FREE
14-day free trial

Then, install macOS and boot your VM


It’s important to remember: when configuring macOS, you should enter a valid Apple ID. This Apple account will be needed for Xcode download later.

At the final stage of macOS configurations, select the desired resolution and settings in the System Preferences. Once done, installing XCode is simple:

  1. In the Dock, find the App Store application icon and click it. Once the app has started, type Xcode in the search field located at the top-right corner.
  2. Now, click the Install button below the Xcode icon.
  3. Note: There might be a need to provide your Apple ID (if you didn’t enter it when configuring the macOS virtual machine) or re-enter it (if you did so).

  4. Once Xcode is downloaded and installed, you can run it on your guest OS just like it was Xcode for Windows!
Download USB Network Gate for FREE
14-day free trial

Dedicated software for linking VirtualBox with an iPhone/iPad


VirtualBox does not recognize an iPhone

Now that you know how to get a Mac on VirtualBox, we’ll tell you about another challenge you may face. The issue that is common for many virtualization apps is the inability to connect to USB devices attached to the host computer. Although some VMs offer USB passthrough functionality, the problem still persists when it comes to particular USB device types.

If your VirtualBox app does not recognize an iPhone that you want to use for app testing, you can resort to the help of a dedicated software tool called USB Network Gate.

USB Network Gate is a simple yet powerful software application designed to forward USB devices to a virtual environment. It allows redirecting any iOS device to VirtualBox, VMware, Hyper-V, XenDesktop, and many other virtualization programs.

Download USB Network Gate for FREE
14-day free trial

With this solution, you will be able to connect your iPhone or iPad to a macOS virtual machine and make the device visible to Xcode and all other apps running on your Mac.

A big advantage of this software is that it works not only with virtual machines but also with cloud infrastructures. If you decide to rent a Mac in the Cloud, you will have no problem redirecting iOS devices from your Windows PC to the cloud desktop.

Step-by-step guide:


In order to share an iOS device (e.g. an iPhone) with a guest operating system you use on your Windows PC, do as follows:

  1. Connect the iPhone to your host PC physically.
  2. Download USB Network Gate and install it.
  3. In the software interface, share the iPhone by clicking the Share button next to the iPhone’s name in the Local USB devices tab.
  4. Install the app on the guest OS.
  5. Connect the iPhone by clicking the Connect button in the Remote devices tab.

That's it! Now you can work with the iPhone like it was physically attached to your Mac.

As you see, USB Network Gate is a cross-platform solution. Additionally to Windows and Mac, it supports Linux and Android platforms. That means you can share USB devices among these OSes no matter which of them is used as a host and which one is a guest.

Top 5 Xcode alternatives for iOS development on Windows

Xcode alternative
  1. Building your own “Hackintosh” - a PC that is customized to run macOS. If you are a tech-savvy Mac supporter, you can create a separate physical computer running macOS. You can find all the necessary information on how to run Mac OS X on an unsupported computer at Hackintosh.com.

  2. Our next pick is React Native. This third-party solution can be a great Xcode alternative for Windows. With React Native, you can create native apps for iOS using a JavaScript library for building user interfaces.

  3. Xamarin is an open-source mobile app platform that gives you a way to develop cross-platform apps that can be deployed natively to iOS using C#.

  4. Another great solution for building native mobile apps is Appcelerator Titanium. This open-source framework lets you create applications from a single JavaScript code base. Those creations are built as completely native cross-platform mobile apps.

  5. PhoneGap allows developing applications for iOS using HTML, CSS, and JavaScript web technologies.

small logo USB Network Gate
#1 at Network Software
USB Network Gate
Share USB over Ethernet on Windows
4.7 rank based on 72 + users
Get a download link for your desktop
Submit your email address to get a link for quick download on your desktop and get started!
or