How to Test Your Mac App on Older macOS Versions
Test your Mac app on macOS 13 through the latest in VMs on Apple silicon: clean templates, snapshots, shared build folders and scripted test runs.
Use caseUpdated 11 min read
On this page
To test your app on older macOS versions, give each version its own virtual machine on an Apple silicon Mac. Save a clean state for each one and return to it before every test run. In Hermitbox, choose File ▸ New VM… ▸ macOS ▸ Choose a Version… to pick macOS 13 or later, share your build folder into the VM, and script the runs with the hermitbox command-line tool. Apple allows only two macOS VMs to run at once, so test two versions at a time or one after another.
What a good test setup looks like
- One VM per macOS major version you support, each with a local admin account and nothing else installed except Hermitbox Guest.
- Automatic updates turned off inside each VM, so "macOS 14" stays the build you meant to test.
- A clean state you can return to in seconds, so every run starts from the same place.
- Your build output shared into the VM, plus a way to install it the way a customer would.
- A script that starts each VM, runs your checks over SSH and shuts it down.
Why test on older macOS versions in VMs instead of spare Macs
A Mac can't run a macOS version older than the one it shipped with, so a recent Apple silicon Mac can't boot macOS 13 to test your app. A VM runs on virtual hardware, so one Mac can keep test machines for macOS 13, 14, 15 and newer.
VMs also reset cleanly. A spare Mac that has run your installer, granted permissions and written preferences has to be erased and set up again before it can give you another first-launch test. A VM goes back to its clean snapshot in a moment.
Keep a real Mac for USB devices, multiple displays, the Intel slice of a universal build, and anything that depends on the exact chip. The limits section below covers why.
Which older macOS versions you can test on Apple silicon
Hermitbox runs macOS 13 and later as guests, and only on Macs with Apple silicon. The host Mac needs macOS 14 Sonoma or later.
Choose a Version… shows the newest build of each major version. The list comes from Apple's feed merged with a list built into the app. As of November 2026, the built-in list contains:
| Version | Build |
|---|---|
| macOS 13.6 | 22G120 |
| macOS 14.6.1 | 23G93 |
| macOS 15.6.1 | 24G90 |
| macOS 26.6.2 | 25G83 |
| macOS 27.2.1 | 26B131 |
Some details matter for testing:
- Only the newest build per major version is listed. To test a specific point release (for example, the build a customer reported a bug on), get that build's
.ipswfile and use Use an IPSW File…. Hermitbox takes a file, not a URL. - Versions newer than your Mac are marked "Needs a newer macOS on this Mac or Apple's device support files." with a link to Apple Developer Downloads. To test the newest macOS, update the host Mac first.
- macOS 12 and earlier aren't available. Test those on a real Mac that runs them.
For the full install walkthrough, see how to create a macOS virtual machine. For pre-release versions, see installing a macOS beta in a VM.
Build a clean test VM and turn it into a template
Do this once per macOS version. Since only two macOS VMs can run at once, set up two versions at a time.
- Choose File ▸ New VM… (⌘N, Command-N).
- Select macOS and click Continue.
- Click Choose a Version… and pick the version, or Use an IPSW File… for a specific build. Click Continue.
- On Name and Size, enter a clear name such as
mac14-base. Names without spaces are easier to type on the command line. - Keep the recommended size. For macOS, Hermitbox suggests 4 cores, 8 GB of memory and an 80 GB disk, scaled down if your Mac is smaller. The minimum is 4 GB of memory and a 64 GB disk, and the disk only takes space as the VM fills it.
- Click Create. Hermitbox downloads the restore image, installs macOS and starts Setup Assistant. Downloads resume after a quit or crash, and the image stays in the cache for the next VM of that version.


Inside the VM, finish the setup:
- Complete Setup Assistant with a local administrator account.
- Double-click the Hermitbox Guest disk on the VM's desktop and click Install. It shares the clipboard with your Mac, follows its Light or Dark appearance, and reports the VM's IP address and exact macOS build to the inspector.
- Turn off automatic updates: open System Settings in the VM and search for "Software Update".
- If you'll script tests, turn on Remote Login: open System Settings in the VM and search for "Remote Login". Add your public key to
~/.ssh/authorized_keysin the VM's account so SSH doesn't ask for a password. - If your scripted tests need the app's UI, the VM has to log in by itself after it starts. Search System Settings for "Automatically log in" and pick the account. This requires FileVault to be off in the VM.
- Shut the VM down with Machine ▸ Shut Down (⌘., Command-Period).
Now freeze it. Choose Machine ▸ Use as Template. The box gets a lock badge that reads "Template · Starting it creates a copy". Starting a template leaves it unchanged and creates a copy named mac14-base 2. Rename the copy with Machine ▸ Rename… to something like mac14-test. That copy is the VM you test in.
To make a copy without starting it, select the VM and choose Machine ▸ Clone (⌘D). The clone, named "mac14-base copy", gets a new id and MAC address and has no snapshots or saved state. The source VM must be shut down or suspended. On an APFS disk, a clone is instant and shares unchanged blocks with the original.
Two display settings help with UI testing. In Machine ▸ VM Settings… ▸ Display (⌥⌘,), set Looks like to 1280×800, 1440×900, 1680×1050, 1920×1200 or 2560×1600, and turn Retina (HiDPI) on or off to check layouts at small and non-Retina sizes. Both need the VM shut down. Resize with the window (on by default) makes the resolution follow the window and needs macOS 14 or later in the VM.
Get your build into the VM
Shared folders (best for repeated builds)
- Select the test VM and find Shared Folders in the inspector.
- Click Add Folder… and choose your build output folder, or drag the folder in from Finder.
- Tick Read only so a test can't change your build products.
In the VM, shared folders appear in My Shared Files (/Volumes/My Shared Files). If that volume is missing, Hermitbox Guest mounts the share at ~/Hermitbox Shared, and its menu has Open Shared Folders. If the VM started with no shared folders, a folder you add appears the next time it starts.
A second, writable shared folder works well for test logs and crash reports, so results land on your Mac without copying.
The clipboard (quick one-offs)
With Hermitbox Guest installed, copy a file in Finder on your Mac and paste it in the VM's Finder. Only files work (not folders), up to about 48 MB per copy. An .app is a folder on disk, so copy your .dmg or a .zip of the app instead. If paste does nothing, see copy and paste not working in a Mac VM.
Test the download path a customer gets
Files you share or paste into the VM may not go through the same Gatekeeper check as a download. To see exactly what a customer sees on first launch, download your notarized build inside the VM from where customers get it, usually your website in Safari.
Two read-only Terminal commands in the VM help you check. This lists the file's extended attributes; a downloaded file shows com.apple.quarantine:
xattr -l ~/Downloads/MyApp.dmgThis asks Gatekeeper whether it would let the app run on this macOS version, without changing anything:
spctl --assess --type execute --verbose "/Applications/MyApp.app"Reset between test runs with snapshots or disposable runs
A "Clean" snapshot you restore before each run
- With the test VM shut down, choose Machine ▸ Take Snapshot (⇧⌘S, Shift-Command-S).
- In the inspector's Snapshots tab, open the snapshot's ⋯ menu, choose Rename… and call it
Clean. - After a run, choose Restore… from the ⋯ menu of
Clean.
The restore dialog has Snapshot the current state first, on by default. Keep it on when a run left something worth investigating. Turn it off when you only want the clean state back, or you collect one extra snapshot per run.
Snapshots are APFS clones: instant, and they take no space until the VM changes. If your library is on a disk that isn't APFS, every snapshot is a full copy and Hermitbox asks first. The default library folder is on your startup disk.
You can also tick Before each start in the Snapshots tab and set Keep (1 to 20, default 3). Hermitbox then snapshots the VM automatically before every start, which gives you a way back if a run breaks something you didn't plan to reset. This also needs an APFS disk.
Run Without Saving Changes (no cleanup at all)
Choose Machine ▸ Run Without Saving Changes (⌥⌘R, Option-Command-R) or Option-click the play button on a box. Hermitbox starts a throwaway copy with a "Disposable" badge and an amber border. When you close its window, it asks "Stop and Discard Changes?" and everything that changed in the run is thrown away.
Disposable runs can't be suspended or snapshotted, and they count toward the two-macOS limit. They suit manual first-launch checks: start, install, click through onboarding and permission prompts, then stop. More in trying software safely in a throwaway Mac VM.
Script it with the hermitbox CLI and Shortcuts
Install the tool in Hermitbox ▸ Settings… ▸ Advanced ▸ Command line tool, then click Install. The default location, ~/.local/bin, needs no password; make sure it's in your PATH. Run hermitbox list to confirm it works.
The commands you'll use for testing:
| Command | What it does |
|---|---|
hermitbox list --json | Lists VMs and their state as JSON |
hermitbox snapshot restore NAME SNAPSHOT | Restores a snapshot (always snapshots the current state first) |
hermitbox start NAME --headless | Starts a VM without opening its window |
hermitbox ip NAME | Prints the VM's IP address |
hermitbox ssh [USER@]NAME -- COMMAND | Runs a command in the VM over ssh |
hermitbox stop NAME | Shuts the VM down (--force pulls the plug) |
hermitbox snapshot delete NAME SNAPSHOT | Deletes a snapshot |
NAME is case-insensitive, and a unique prefix is enough. Exit codes: 0 success, 1 error (message on stderr), 64 usage error, 69 Hermitbox unreachable. If Hermitbox isn't open, the tool opens it in the background.
This script runs your test script in each VM, one version at a time. It assumes each VM has a Clean snapshot, Remote Login on, your SSH key installed, and a shared folder named build that contains run-tests.sh:
#!/bin/zsh
# Restore, start, test and shut down each macOS test VM in turn.
for vm in mac13-test mac14-test mac15-test; do
hermitbox snapshot restore "$vm" Clean || exit 1
hermitbox start "$vm" --headless || exit 1
until hermitbox ip "$vm" >/dev/null 2>&1; do sleep 5; done
sleep 20 # give sshd a moment after the address appears
hermitbox ssh "tester@$vm" -- 'sw_vers -productVersion; "/Volumes/My Shared Files/build/run-tests.sh"'
hermitbox stop "$vm"
doneBefore you rely on it:
- Because
snapshot restorealways snapshots the current state first, each run leaves one extra snapshot. Clean up withhermitbox snapshot list NAMEandhermitbox snapshot delete NAME SNAPSHOT. --headlessand--disposablecan't be combined, which is why the script restores a snapshot instead of using a disposable run.- The CLI can't create VMs or change their settings. Build and configure VMs in the app; script the runs.
Shortcuts offers Start Virtual Machine, Shut Down Virtual Machine, Suspend Virtual Machine, Take Snapshot, Get IP Address of Virtual Machine and Get Running Virtual Machines. There's no restore action, so for reset-then-test loops the CLI is the better fit. All commands and hermitbox:// links are in Automate Hermitbox: CLI, Shortcuts and links.
Limits to plan for
- Two macOS VMs at a time. This is Apple's limit. Disposable runs count; Linux VMs don't. A third start shows "Two macOS VMs Are Already Running" with only an OK button, so shut one down first. Details in why you can only run two macOS VMs at once.
- Hardware models. A macOS VM runs only on Macs that support its hardware model. If you export a template with Machine ▸ Export… for a teammate, importing the
.hermitboxarchivemay warn "This Mac Can't Run" followed by the VM's name. Archives also leave out snapshots and saved state. When that warning appears, build the template on that Mac instead. - No USB passthrough. You can't connect a USB device to a VM, so test hardware integrations on a real Mac.
- Apple silicon and arm64 only. No macOS VMs on Intel Macs and no Intel guests, so test the Intel slice of a universal build on an Intel Mac.
- One display, no GPU settings. Test multi-monitor behavior and GPU-heavy features on real hardware.
- NAT networking only. The VM reaches the internet and your Mac reaches it by IP, but it can't join your network as its own device (no bridged mode).
Common mistakes
- Letting the VM update itself. A macOS 14 VM that installs an update is no longer the build you meant to test. Turn off automatic updates before you snapshot or template it.
- Forgetting to retake the clean snapshot. If you change the base setup (new command-line tools, another account), shut down and take a new
Cleansnapshot, or the next restore undoes your change. - Only testing with copied builds. Shared folders are fast for iteration, but do at least one run per release with a real download to cover Gatekeeper and first launch.
- Putting the library on a non-APFS drive. Snapshots and clones become full copies, and automatic snapshots won't run.
- Capturing bugs with a whole-screen recording. From the VM window, File ▸ Take Screenshot (⌃⌘S, Control-Command-S) and File ▸ Start Recording (⌃⌘R) capture only the guest, at Retina scale. The first capture asks for Screen Recording permission.
Other apps that can do this
We make Hermitbox, so weigh our view accordingly; we've tried to be fair to the other apps here. As of November 2026:
- UTM is free on GitHub (the Mac App Store version is paid only to support the project). It runs macOS guests through Apple's framework, and also Windows, Linux and other systems through QEMU, with
utmctland AppleScript for automation. For VMs on Apple's framework, which macOS guests use, its snapshots, clones and disposable runs need macOS 27 on the host. Pick it if you're on that version and want a free tool, or if you also need Windows or other architectures. See UTM alternatives. - VirtualBuddy is free and open source (BSD-2). It lists Apple's restore images, accepts a custom IPSW URL or file, boots into Recovery, saves and restores state, and has a guest app for clipboard, shared folders and appearance. Pick it if you want a free, open-source app and mostly test by hand.
Hermitbox fits when you want a snapshot timeline, templates and clones on macOS 14 and later, plus a CLI and Shortcuts for repeatable runs. It can import existing VirtualBuddy VMs and UTM VMs that use Apple's framework with File ▸ Import… (⇧⌘I). Hermitbox is part of MacSuite; you can try it free for 7 days.
If you're setting up your first test VM now, start with Create a macOS virtual machine, then read Snapshots, clones, templates and throwaway runs.