VMware Communities
ITMan01
Contributor
Contributor
Jump to solution

How to install a Apple iOS VM?

Hi,

Is it possible to install Apple iOS as a Virtual Machine?

thanks!

Tags (1)
1 Solution

Accepted Solutions
vmxmr
Expert
Expert
Jump to solution

Silly Answer:

Apple's Xcode development tools include an iOS simulator (iPhone and iPad) which will run your iOS code. I suppose that you could call it a virtual machine, but it doesn't run native in VMware. Xcode is free to all Mac users.

You could install OS X in a VMware virtual machine, then install Xcode in it, and then run the iOS simulator there, but why not run it in the native Mac environment? It would run much better there.

Important Note: I ran a quick test, and the iOS simulator would not start up in a VMware guest OS X virtual machine. It was a beta of Xcode 6, so I don't know where the problem is, and I do not have time to figure it out. As I said, run Xcode and iOS Simulator native in your Mac, and it will run much better anyway.

View solution in original post

7 Replies
WoodyZ
Immortal
Immortal
Jump to solution

It is not supported by VMware, nor is it allowed by its SLA.

0 Kudos
ITMan01
Contributor
Contributor
Jump to solution

I know that it is not officially supported, but technically, is it possible to do that. Is there any non-official reference?

0 Kudos
dariusd
VMware Employee
VMware Employee
Jump to solution

VMware products will do virtualization of Intel Architecture (x86/x64) processors, not emulation of non-x86/x64 processors.  As far as I know, iOS is not available in any x86 or x64 build, so it would seem impossible to run it as a guest within any VMware products.

--

Darius

vmxmr
Expert
Expert
Jump to solution

Silly Answer:

Apple's Xcode development tools include an iOS simulator (iPhone and iPad) which will run your iOS code. I suppose that you could call it a virtual machine, but it doesn't run native in VMware. Xcode is free to all Mac users.

You could install OS X in a VMware virtual machine, then install Xcode in it, and then run the iOS simulator there, but why not run it in the native Mac environment? It would run much better there.

Important Note: I ran a quick test, and the iOS simulator would not start up in a VMware guest OS X virtual machine. It was a beta of Xcode 6, so I don't know where the problem is, and I do not have time to figure it out. As I said, run Xcode and iOS Simulator native in your Mac, and it will run much better anyway.

ColoradoMarmot
Champion
Champion
Jump to solution

XCode requires 3d acceleration last I looked, so it won't run in a VM.

thorsfall
Contributor
Contributor
Jump to solution

We do all our OSX and iOS builds in VMs, so I don't think your comment about Xcode requiring 3D acceleration is correct (at least not real 3D acceleration).

Maybe someone from VMware would like to comment (darius?), but I believe they also build their official software releases on Mac Minis running VMware ESXi and OSX VMs (per http://www.theregister.co.uk/2014/07/31/vmware_builds_product_executables_on_50_mac_minis/).


That said, the iOS simulator doesn't do a very good job of emulating the actual hardware running iOS.  Our developers find issues that occur only on real Apple hardware (iPhones/iPads) all the time, and they never show up in the simulator.

0 Kudos
dariusd
VMware Employee
VMware Employee
Jump to solution

AFAIK, our build machines use Xcode's command-line toolchain (clang, etc.) but do not run the Xcode graphical interface.  I doubt that provides a meaningful data point for either side of this debate.  Smiley Wink

Cheers,

--

Darius

0 Kudos