I am mostly windows developer and had to step into iDevelopmentWorld.
Went to apple to get XCode, downloaded it, however file extension is .dmg. Windows does not recognize it as executable and throws following dialog.

enter image description here

I am guessing that ether
1. I need some additional software to open it (like mounting an image).
2. .dmg is not for windows but iOS and I am out of luck.


You can not install XCode on any version of Windows, it only runs on OS X.

  • 1
    Not entirely true there's an option of installing Virtual OS X on Windows and go from there. lifehacker.com/5938332/… – Matas Vaitkevicius Jun 2 '15 at 15:18
  • 1
    Correct, I wouldn't call it running on Windows though in that case :-) – nohillside Jun 2 '15 at 15:20
  • 2
    @Matas Vaitkevicius, Installing OS X in a VM under Windows is not allow by its SLA and no company that produces a Type 2 Hypervisor officially supports installing OS X in a VM under anything other then OS X! – user3439894 Jun 2 '15 at 15:26

I figured that it's archive and extracted it with 7zip. However couldn't find any executables inside. My guess is I need to run 3.hfs but it's different question.

enter image description here

  • 1
    .dmg files are an Apple Disk Image file and typically not needed to be accessed under Windows however HFSExplorer and DMGExtractor can be helpful under Windows if needed. – user3439894 Jun 2 '15 at 15:10


Check out that website, you can simulate Mac OS X on windows and therefore run Xcode

  • The SLA for OS X does not allow for it to be virtualized on non-Apple hardware! – user3439894 Jun 2 '15 at 17:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .