Is it possible to virtualize the iPhone OS?

I was wondering if it was possible to virtualize an iPhone's OS on my Mac. Maybe through VMware or another application?


Solution 1:

The only way I have heard of is to download the iPhone SDK, it comes with a iPhone emulator.

Solution 2:

I can't give an authoritative answer but my feeling is no, for reasons both technical and legal. The iPhone uses an ARM processor which has an instruction set that is not compatible with the Intel x86 instruction set which VMWare et al provide virtualization of.

Further to this, you would likely need to virtualize components other than the processor in order to support many of the APIs exposed by iPhone OS. Technically speaking, all of these issues are probably surmountable, but products such as VMWare are not likely to support this.

IANAL, but to the best of my knowledge it would be against Apple's licensing to execute the iPhone OS code on platforms other than those approved by Apple, virtual or otherwise