XCode for Windows: Every operating system has its own IDE (integrated development environment). As Android has its Android Studio, iOS has its XCode. It enables developers to test apps for iOS, Watch OS, Mac seamlessly before launching that on Apple store. That means in order to develop an app for Apple ecosystem; you need to have a Mac!
Yes, you are absolutely right. But there is another way out if you are a Windows user! There are some tested tweaks that enable XCode for Windows. Though there is a lot of confusion on this topic whether XCode can easily be run on Windows or not, using Windows 10 with some customized installations anyone can do this.
Since its launch in 2003, it has been the center of development for all iOS apps till now. All the registered developers can access and download it from Apple store directly at free of cost!
XCode for Windows: Minimum Requirements
But the million dollar question is that how would you install on Windows PC? It’s clear that you can’t install it directly on any PC with Windows operating system. Hardly, any tweak will work as XCode is built for Mac OS especially. That’s why we need Oracle Virtualbox. Once it’s installed you can make and test basic iOS or Mac app using XCode on your PC!
A registered developer ID: You need to have a developer ID to download the XCode directly from the official site of Apple.
Mac OS X on Virtualbox: Once you have installed Oracle Virtual box, get Mac OS X on it.
Processor & RAM: An Intel Pentium Quadcore processor and 2 GB RAM are recommended to work on XCode for Windows emulated the system.
For your interest: Download GBA4iOS [Full version]
Steps involved in installation of XCode for Windows 10
Windows 10 has come with a lot of new features builtin and installing XCode on Windows, especially in Windows 10 is a treat and a tweak if in case you are completely unaware of the way to install it.
Here you will find the full-fledged process to install the XCode IDE for your Windows system.
Step 1 | Download VirtualBox: It starts with downloading VirtualBox on your system. You can get it downloaded from here.
Step 2 | Install OSX Mavericks: The next part involves installing OSX Mavericks ISO file because it starts like a virtual machine.
Step 3 | Create a new OS: As because Windows doesn’t support files made for Mac, we need to create a virtual machine on the Oracle virtual machine and we need to create a new one. To start with, we need to click on the “NEW” option.
Step 4 | Nomenclature of the OS: In the very next step, a new window will open and it will ask to enter you an OS name. Type OSX as the name there and Mac OS X as the operating system name. Go to the next level by clicking on the “NEXT” button.
Step 5 | Select RAM size: The next thing is very crucial, in order to run a Mac or iOS app runs on Windows we need to reserve at least 2 GB RAM, select 2 GB from the option (we recommend to have 4GB RAM) and you are almost done with the system configuration!
Step 6 | Create virtual drive: Now, add a virtual drive and select the type of virtual drive with a click. Reserve at least 30 GB space for that.
Step 7 | Select the file type: Select the type of file as VirtualBox Disk Image (VDI) and always select VDI for ISO image file.
Processor Dual Core Intel
RAM 2 GB (Recommended 4GB)
For your interest: PS3 Emulator for PC
Virtualbox- Changes to do in the settings
Once the VirtualBox has been installed properly, it does all the configurations automatically though you need to do a few tweaks there to ensure the fluidic running of the OS.
System Always Enable EFI
Processor Select 2 core CPUs
Display Select video memory video memory to at least 128MB
Install Mac OS X on Windows- A Process flow
Step 1: For getting a running XCode for Windows, We need Hackboot and Hackboot 2 to proceed further. Always get the OS X disc as well. Select the Hackboot image file 1 and start the virtual machine. After a while, OS X screen will be flashed. At the bottom, you will see a menu where an option to launch the disc drive of X OS installation will be seen.
Keep following the processes coming by once the installation is started. Press “OK” for all permissions asked and let it be installed. It may take a few minutes, wait for that.
Step 2: Once it’s done, click on the exit button of the “Virtualbox” and change the Hackboot disc file and insert the disc no 2. Again the screen for booting Mac OS X will appear and you need to start the boot sequence! That’s all.
Step 3: It will ask your Apple ID because you will need it for downloading XCode toolkits later. You are done!
You have completed all processes for Mac OS X virtual machine.
Now run the installer file from the XCode files downloaded before. It will launch it on the virtual machine. You are now ready to go gaga with XCode for Windows system.