How to Install Xcode on Windows 10, 8 or 8.1and 7 for iOS SDK

47
64429
4.5
(11)

Developing apps for Linux and Windows on any platform is an easy task while building software for Mac is not so easy compared to other platforms. For building apps on Mac requires a SDK called Xcode. Xcode is an integrated development environment (IDE) that consists of set of software development tools which are designed by Apple specifically for developing software on Mac OS X and iOS. The app development kit, Xcode is not available for any other operating systems except Mac OS X and iOS. There are many reasons and compatibility issues behind this unavailability. If you are quite firm to install Xcode on your Windows PC (7, 8.1 and 10) and check the working process of SDK framework/development kit on Windows OS, then here is a detailed way on how to install Xcode on Windows 7 and 8/8.1 and Windows 10 pC.

Xcode – App Development Kit

Xcode is an application development kit or simply SDK containing set of software development tools designed for Mac OS X. Xcode is an interface builder which can also be considered as a testing application and an asset management toolkit. Here is a method on how to install Xcode on Windows PC (7, 8 or 8.1 and 10) using Oracle VirtualBox. Hence, by installing this Xcode SDK on your Windows OS, you can create and develop basic apps on Windows PC.

Requirements to Install Xcode on Windows 7/8/10 OS

In this article, we are going to explain you in a detailed way on how to install Xcode on Windows 7, 8 or 8.1 and 10. Before initiating the installation process, you need to have the following system requirements:

  •  A working Mac OS X virtual machine on VMware or VirtualBox.
  • Downloaded Xcode package from Apple site. You need to have Apple ID in order to download Xcode from Apple store.
  • Dual Core Intel processor
  • Minimum 2GB of RAM (Recommended: 4 GB+)
  • Hardware Virtualization

If you are a professional app developer, you have to purchase Apple hardware with OS X and app developer ID. You need to use Xcode on your Apple hardware at the time of testing the app on a real Apple device.  As we are using Virtual Box to install Xcode on Windows, make sure that you have a working Mac OS X virtual machine. If you don’t have a copy of an installed Virtual Box, then you can download it here as it is free and open source.

Download VirtualBox

Steps to Install Xcode on Windows 10, 8/8.1 and 7 PC or Laptop

Follow the below steps so as to install Xcode on Windows 10, 8 or 8.1 and Windows 7 desktop or Laptop for iOS SDK.

Step 1: Initially, download and install VMware or VirtualBox on your Windows computer from the above link.

Step 2: Now, you need to download and install OSX Mavericks ISO as a virtual machine.

Step 3: You have to create the virtual machine on your oracle virtual box. For that, you need to open Virtual Box and click New.

Step 4: Now, you will get a new window asking for the name of the new operating system. Enter Name as OSX, Type of the OS as Mac OS X and also enter the Version as Mac OS X (32 bit). Click Next.

Create New Virtual Machine

Step 5: You need to select the size of RAM for the virtual machine. The sufficient size of memory for Android to run on your Windows computer requires 1024 MB (1 GB). Select the memory size and then click Next.

Create Virtual machine - memory size

Step 6: Now, Select and create the type of virtual hard drive file.

Step 7: Select the type of Hardware file as VDI (VirtualBox Disk Image). It is always recommended to go for VDI in terms of ISO image. Click Next.

Create virtual hard drive

Step 8: Select the physical hard drive as Dynamically allocated. Now, you need to allocate the file loaction and size of Android from physical hard drive on your device. Then, Click on Create.

virtual hard drive - File location and size

Step 9: Now, you have successfully created virtual machine on your virtual box. You need to mount the iso file which is downloaded before. For that, Go to Settings >> Storage >> Load iso File >> Click Ok >> Start.

Create VM on Oracle

Step 10: Later, you just follow the on-screen steps of OSX boot as Wizard and then OSX will be installed in Oracle Virtual.

Install Xcode on Windows PC

Step 11: Now, go to safari browser in your Virtualbox and open official Apple App store. Sign in using your Apple ID into the App store. You need to enter the Apple ID and password as shown in the image below:

sign in - Apple App store

Step 12: After signing, type xcode in the search box in order to get the complete package. It shows you various related apps. Locate Xcode from different apps and click on Free and Download. Then, click OK to download the kit.

Download xcode from apple store

Step 13: After completing the installation process, open it from the applications. Now, you need to provide your root credential in order to get access privilege to install Xcode components and also for modifying your system settings. Enter your name and password and press OK.

Install Xcode

Step 14: That’s it,. We have now successfully installed the latest Xcode version on your Windows 10, 8/8.1 and 7 PC using desktop virtualization software VMware workstation.

Xcode - SDK
This way you can install Xcode, app development software on your Windows PC or Laptop. Now, you can create new projects and better apps using this interface. As you are running this software on Windows, the performance and speed of Xcode won’t be extremely high.

However, it can be used for educational purpose, but not for professional app developers. Now it’s time to use Xcode on our PC. So in this way you can easily download and install Xcode on your any windows Personal computer or laptop and you can create better apps as per your need. Hope this tutorial helps you in the best way to install Xcode on Windows 10, 8/8.1 and 7 OS running PC or Laptop.

4.5 / 5. 11

47 COMMENTS

  1. Says it wont run OS if I continue all I get is a shell interface, says spmething about amd hardware acceleration not available

    • Check your BIOS settings to ensure your machine’s CPU and chipset are properly configured.
      >>If your device is based on Intel CPU processor, turn it to ENABLED in the BIOS settings.
      >>If your device is AMD based, change it as ENABLED in the BIOS virtualization settings.

    • Yep just use IDM it will help you continue the download again and again when the time expires it took me 9 hours with 250kb/ps internet to download OSX Mavericks.

  2. The service is realy bad….no reply’s on any comments…or support….very unprofessional.

    I have taken all steps…Xcode is not available in the Appstore….and is an dmg file which we cannot not open on windows 7…..step.13 is an mistery to me…

    Mane question is how do I open and dmg file om windows 7…..or what program do I need

    • You need to download “DMG extractor” which can be used for unzipping DMG files (Only for files with 4GB and below). If the file size is more, you can go for a professional version.
      Steps to open Xcode dmg file on Windows 7:
      1. Double-click on the DMG file and wait for DMG Extractor to begin.
      2. You can see a list of files in the window.
      3. Choose to extract the files by selecting the “Extract” button or just by dragging the files from the DMG window into any folder on your PC.

  3. Plus I get this Error after clicking on the Start button in the Virtualbox:

    VT-x / AMD-V hardware acceleration is not available on your system. Some guest systems (eg. OS / 2 and QNX) require this feature and can not start without it.

    ??????????????

    • You can start. Before that, you need to check your BIOS settings whether your machine’s CPU and chipset are properly configured or not. First let me know, is you device based on Intel CPU or AMD based?

  4. My screen once all setup just stays black once ive pressed start. anyone know wht ive done wrong? some help pls 😀 x

  5. Where do I get this root credential. What is admin login and password for the virtual OS x?

  6. in requirements you mentioned about “If you are a professional app developer, you have to purchase Apple hardware with OS X “. Please could you explain bit more about this and secondly can you explain how to update OSX mavericks to OSX EI capitan using virtualbox…thanks in advance

    • Worked fine on VMware Player but mouse is acting funky wish i knew mac shortcuts anyway Goodluck using VMware Player

    • Check the video memory allocation. At present it is set too low, increase the amount of video RAM and it will get past the blank screen.

      • I increased the video ram all the way from 5 mb to 64 mb and nothing changed. I still have the plain black screen that has the

        • interactive shell program.
          Is there any way I can type in something that will startup Xcode on its own because it does say that if you enter a recognizable operable program then it will open it.

  7. when I press enter it shows basic screen , press enter to start darwin/x86 . I am pressing enter and it still shows same message
    any suggestions ?

    • switched enable EFI on settings – system screen , and got uefi interactive shell
      what command should I make to start mac os ? I am using iso file you mentioned
      on windows 7 home premium . no service pack installed

  8. for me its working perfectly fine but its is old version that is why you can download xcode in this version

  9. Why is everyone in the comments section so dense,
    1. No you cannot install Xcode on windows.
    2. You can make a hackintosh, I’m not going to explain how, use GOOGLE.
    3. Have an error or issue use GOOGLE.
    4. Still can’t get it to work, buy a Mac.
    5. And remember use GOOGLE, if you’re unsure how look at another career.

    • Mr. Daniel,
      It’s not polite to tell anyone they’re dense!!
      If you’re not willing to help out with your comment, don’t make one in the first place.

      Virtualization-App Community,
      Virtual Machines tend to display unexplainable errors, where you might have to change a few settings for it to work. (not knowing which setting to change). Especially options for which we have no clue what they do (i.e Enable EFI )

      Frankly, I remember using VMWare & I faced an error which had to do with the H.D.D Identity (that I had to change to another VM Software ) to get rid of that error 🙂

      Now I’ve a question please,
      Can’t I download xcode for free without having to register an Apple-ID?
      I’m in a third-country area (with sanctions) where I can’t purchase credit cards or paypal 🙁

      • Aroma,

        You may kindly download the free version of Xcode, which is “Xcode 9.4.1”, from https://developer.apple.com/download/more/

        However, you will need to register for an Apple ID, which is free, so you do not need to pay anything.

        For the Facebook photo from Adarsh Sonare from one of the Facebook comments above in this website, I am getting the same exact problem. I also saw that “boot” failed for about one second, before I reached the screen which Adarsh Sonare’s Facebook photo.

        Thank you.

  10. Aroma,

    You may kindly download the free version of Xcode, which is “Xcode 9.4.1”, from https://developer.apple.com/download/more/

    However, you will need to register for an Apple ID, which is free, so you do not need to pay anything.

    For the Facebook photo from Adarsh Sonare from one of the Facebook comments above in this website, I am getting the same exact problem. I also saw that “boot” failed for about one second, before I reached the screen which Adarsh Sonare’s Facebook photo.

    Thank you.

  11. you’гe truⅼy а good webmaster. Thе web site loading pace is incredible.
    Іt kіnd of feels thɑt you are doіng any unique trick.
    Fսrthermore, Thee сontents aгe masterpiece.
    үoս’ve performed a fantastic task in thіs topic!

Comments are closed.