Virtualizing macOS
Run macOS in a virtual machine to build Provenance from source without a Mac
If you don't have a Mac but want to build Provenance from source, you can run macOS in a virtual machine. This guide covers setting up a macOS VM on Windows or Linux.
Virtualization Options
Best for: Windows users with Intel processors
Requirements
CPU: Intel processor with VT-x/VT-d support (AMD works but requires extra patches)
RAM: 8 GB minimum (16 GB recommended)
Storage: 80+ GB free disk space
Software: VMware Workstation Player (free for personal use) or Workstation Pro
Setup
Install VMware Workstation and the VMware Unlocker (enables macOS as a guest OS option)
Create a new VM:
Select Apple Mac OS X as the guest OS
Allocate at least 4 GB RAM (8 GB recommended for Xcode)
Set disk size to at least 80 GB (Xcode alone is ~35 GB)
Configure hardware:
Processors: 2+ cores
USB Controller: Set to USB 2.0 (required for iOS device detection — USB 3.0 passthrough is unreliable in VMs)
Enable:
Automatically connect new USB devices
Show all USB input devices
Share Bluetooth devices with the virtual machine
Install macOS from your installation media
Install VMware Tools after macOS boots (improves graphics, clipboard sharing, and performance)
Post-Install
Update macOS — Open System Settings → General → Software Update
Install Xcode — Download from the App Store (free, ~35 GB)
Open Terminal — Applications → Utilities → Terminal
Continue to Building from Source.
Best for: Free, cross-platform option
Requirements
CPU: Intel or AMD with virtualization support
RAM: 8 GB minimum
Storage: 80+ GB free
Software: VirtualBox (free and open source)
Setup
Install VirtualBox and the Extension Pack
Create a new VM:
Type: Mac OS X, Version: macOS 64-bit
RAM: 4096 MB minimum (8192 MB recommended)
Create a virtual hard disk: 80 GB or more (VDI, dynamically allocated)
Configure VM settings:
System → Processor: 2+ CPUs
Display → Video Memory: 128 MB
USB: Enable USB 2.0 (EHCI) Controller
Apply required patches — VirtualBox needs command-line tweaks to run macOS:
Install macOS and then install Xcode
VirtualBox macOS performance is generally worse than VMware. Expect longer build times.
Best for: Running a second macOS version on an existing Mac (Apple Silicon or Intel)
If you have a Mac but need a different macOS version for Xcode compatibility:
Performance Tips
Virtual machines are slower than native hardware. These tips help:
Allocate adequate RAM — 8 GB for the VM if your host has 16+ GB
Use an SSD — VM disk I/O on a spinning hard drive is painfully slow
Close unnecessary host apps — Free up CPU and RAM for the VM
Use Release builds — When building Provenance in Xcode, always use the Release scheme (Debug builds are 5-10x slower and even more so in a VM)
Disable Spotlight indexing inside the VM — System Settings → Siri & Spotlight → uncheck categories
Troubleshooting
Alternative: Hackintosh
Instead of a VM, you can install macOS directly on compatible PC hardware (a "Hackintosh"). This gives near-native performance but requires compatible hardware and more setup effort.
Resources:
OpenCore Install Guide — Modern Hackintosh bootloader
tonymacx86 — Hardware compatibility lists and guides
Hackintosh setups are not officially supported by Apple and require specific hardware. Research compatibility before attempting.
Last updated