Can Apple Mac OS runs on virtual machine in Windows as build host with Xamarin.iOS?

眉间皱痕 提交于 2019-11-29 02:05:36

Short answer: Yes it can

Long answer:

As it's been noted in the comments above, you can only legally (wrt license) run a OSX VM on Apple hardware.

IOW if you have a Mac Book Pro (or any Apple hardware) running Windows and a VM running OSX you're fine, both technically and license wise. OTOH you're not fine to use any other (non-Apple) computer brand running Windows and virtualize OSX.

The setup itself will be identical, from Xamarin's tools perpectives (the above linked documents still applies). It will be two computers (one real, one virtual) communicating with each others thru the (virtual) network.

As stated above, it is not in Apple's terms of agreement to run OSX on anything but an Apple product so you shouldn't do it.

Although if for some educational reason you were to install OS X Yosemite ("Hackintosh" ) inside of Virtual Box on Windows, set the Network adapter to "Bridged Adapter" and get the Xamarin build host installed and running (as well as Xcode from the App Store), then it might be possible to connect from Visual Studios. But as stated, you shouldn't do it ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!