macOS VirtualBox VM is a repository that provides scripts and instructions to build a VirtualBox virtual machine running macOS (ranging across versions like Yosemite, El Capitan, Sierra, High Sierra, Mojave). The script automates preparation of the macOS installer ISO from the App Store application, configuration steps for VirtualBox, and setup guidance to get a working VM. This is valuable for developers who want to test, build, or deploy within macOS without relying on physical Mac hardware or for backward-compatibility testing. The repo documents the steps clearly, handles corner-cases like older OS versions, and provides paths to unlock Guest Additions and optimize VM settings. While specific about VirtualBox and macOS versions, it remains a practical reference for anyone needing a macOS VM this way. It also illustrates how to deal with Apple installer artifacts, command line tooling, and VM setup in a repeatable and scriptable manner.
Features
- Script (prepare-iso.sh) to convert a macOS App Store installer into an ISO suitable for VirtualBox
- README instructions for VirtualBox setup spanning macOS versions 10.10-10.14
- Configuration notes for Guest Additions, shared clipboard, and VM optimization
- Support for hosted and nested VM setups across different host OSes
- Hosted in MIT-licensed repository making it adaptable for custom needs
- Tested on multiple VirtualBox versions with documented results and issue tracking