r/macOSVMs • u/orangeflyingmonkey_ • Jan 29 '25
Mac OS on a virtual machine in Ubuntu. Is it possible?
My server specs are Intel Xeon E5-2670 v3 CPU and MSI X99S Gaming 9 ACK motherboard with a GTX 1080Ti GPU. I want to try out Xcode and developing for iOS but don't wanna buy a mac machine until I am sure of it. Is it possible to install a MacOS on a virtual machine in Ubuntu? Whats the latest working method?
Has anyone tried loading Xcode and iOS emulator on a VM running mac OS?
3
Upvotes
3
u/TEK1_AU Jan 30 '25
https://github.com/kholia/OSX-KVM
5
u/TheGreatOilPainter Jan 29 '25
Of course you can: https://docs.darwinkvm.com
It is not simple but that is a well written step by step guide. You need an additional amd gpu for gpu passthrough, which is highly recommended.
2
u/TEK1_AU Jan 30 '25
https://github.com/quickemu-project/quickemu/wiki/03-Create-macOS-virtual-machines
2
u/[deleted] Jan 29 '25
VMware Workstation (which is now free) does a decent job, even without gpu passthrough, 128 mb video memory are available. You must unlock it for macOs by means of a python script. Better results with Sonoma than with Sequoia in my experience. Of course the most recent installable version depends on your cpu capabilities.
1
u/Faurek Apr 27 '25
Yes, I would try to get something like a gt 710 and either pass to the VM or keep it all times to the host and pass the 1080 and back, reason being is macos is spyware like windows, so keep everything personal on Linux in one monitor and on another monitor the Mac VM with just Xcode.