views:

959

answers:

4

I am a windows dev, but I have recently found that I need to create a rich app that is platform agnostic. After a few proofs of concept trials, I am electing to go with Silverlight because is based in WPF, and I am moving my windows development in that direction, so the two will dove tail each other.

My latest project requires that I support MAC OS x, so I am targeting Snow Leopard, and I would like to be able to run it in a Virtual PC environment.

I know apple is sort of picky about hardware, so I wonder, is this possible? Can I run OSX in a VM?

+1  A: 

No. The license for OS X forbids running it in a virtualised environment on non-Apple hardware with Windows as the host OS.

David Dorward
Well, thats kind of mean.
Russ
In fact I think it forbids to be executed in a non-Apple computer. The host OS doesn't matter.
Carlos Tasada
@Carlos - Good point
David Dorward
@Russ - OS X is designed to sell hardware, not copies of OS X.
David Dorward
@David - Thats the impression I have been getting from Apple. I just wanted to double check before tying to provision a physical box.
Russ
A Mac Mini makes a good testing box (and has VLC server out of the box so you can run it headless if you like).
David Dorward
A: 

Get a Mac. Google for "snow leopard hackintosh".

I know there're solutions for VMWare and VirtualBox, but not much about Virtual PC.

KennyTM
A: 

David Dorward is wrong. You can definitely run OS X as a guest inside a VM hosted on a Windows PC. People usually use VMWare for this.

However, running OS X in a VM is not a particularly good experience, even on supported host operating systems! You get no 3D acceleration for starters, and sound and network can be finicky and definitely not as well polished as running Windows in a VM.

Coxy
Just because you can do it, does not mean the license allows it, which is what David said.
Shane
The question asked "is this possible? Can I run OSX in a VM?" David answering "No" is wrong.
Coxy
A: 

The only legal way to run OS X in a VM is when running OS X Server in a VM on Mac hardware. This does not help you in what you are trying to achieve though.

There are non-legitimate ways of running OS X on your PC hardware (OSx86 would probably work better if you can get it to work) but if it is for work related purposes and could be a tax deduction for you, a Mac Mini could be a good option.

I went down the MacBook Pro path myself since I like UNIX :) One advantage of this is there is no issue running windows natively or in VM.

Shane