Test on older macOS versions when you only have one Mac
Run a test on older macOS without old hardware: a UTM VM, GitHub's hosted runners or a spare Mac, what each can't do, and how to prove a limit.
You don’t need a drawer of old Macs to test on an older macOS. On an Apple silicon Mac, a free UTM virtual machine should run macOS 12 or later, as long as you have room for it, though the only guest I ran was macOS 26.6.2. If your test only needs a shell, GitHub’s hosted runners give you the last two or three macOS versions with nothing on your disk. Use a real second Mac only for what a VM can’t do, such as anything that needs an App Store app.
I needed this on October 30, 2026, when I found that a number on my site was
wrong. I’d written that Apple’s .aea archive passwords need at least 32
characters, and a commit of mine said that was “confirmed”. No test backed it.
The real limits, at the lengths I tried, are 20 to 256 characters of plain ASCII
on all four versions:
| macOS | Where it ran | Too short | Accepted | Too long |
|---|---|---|---|---|
| 14.8.9 | GitHub macos-14 runner | 8, 16, 19 | 20, 21, 24, 31, 32, 64, 128, 256 | 257 |
| 15.8.2 | GitHub macos-15 runner | 8, 16, 19 | 20, 21, 24, 31, 32, 64, 128, 256 | 257 |
| 26.6.2 | UTM VM on a Mac mini | 19 | 20, 31, 32, 256 | 257 |
| 27.2 | MacBook Pro with M2 Pro | 19 | 20, 31, 32, 256 | 257 |
These are results from Apple’s aa command. On 27.2, the aea command and the
AppleArchive framework gave the same answers at the lengths checked.
The title needs one honest footnote. I have a laptop and a Mac mini, and the VM ran on the mini, because the laptop had 32 GB free and the VM and its image took more than that. Nothing about the VM needs a second Mac. It needs the disk space.
Choosing a route
| UTM virtual machine | GitHub-hosted runner | Spare Mac | |
|---|---|---|---|
| Disk on your Mac | Just under 50 GB for me: a 19.8 GB restore image and a 27 GB VM | None | None on your main Mac |
| Money | UTM is a free, open source download | Free in public repos. In private repos, $0.062 a minute on the standard macOS runner, with each job rounded up to a whole minute, taken from your plan’s included usage | Whatever the Mac costs |
| My time | About an hour, most of it stuck on a permission prompt | Seconds per job, once the job was allowed to run | Not tested |
| Which versions | UTM offers macOS 12 and later, probably no newer than the host. I ran only 26.6.2 | Only the images GitHub currently offers. No choice of point release | Only what that Mac can run |
| What it can’t do | No Find My, Wallet or iCloud Backup, no nesting, and reportedly no App Store apps | No nested VMs, 14 GB of disk, and the version disappears when GitHub retires it | Go older than the Mac allows |
How I’d choose:
- A shell command on a version GitHub still offers: use a runner. It’s by far the least work.
- A version GitHub doesn’t offer, or you want to watch the app run: use a VM.
- It involves the App Store or an App Store app: use a real Mac. Apple says a VM doesn’t get Apple Media Services, and Eclectic Light reports a VM won’t run those apps.
I haven’t tried the spare Mac route for this. Apple’s Terminal method for downloading installers only goes back to the version a Mac came with, or the closest one still available, so check that first if you’re buying an old Mac for this.
In this guide
- Run older macOS in a UTM VM: what fits, what doesn’t work in a VM, the two-VM limit, and SSH with keys.
- Test on GitHub’s macOS runners: a matrix workflow to copy, what it costs, and brownouts and retirement.
- Write a boundary test that stays proved: N−1 fails, N passes, and what to write down.
What I got wrong
- I wrote “confirmed” with no boundary test behind it. In May 2026 a commit
recorded the 32-character minimum as confirmed, quoting an error, “Invalid
password”. That message is real, but it doesn’t show 32: on macOS 27.2,
aea encryptprints it for 1 to 7 characters and at 257 and 400, and accepts 31. The passwords that commit’s tests accepted were 35 and 36 characters, which pass under any of these limits. The number spread to the app and about ten pages of this site. - My first correction was wrong too. When I found that macOS 27.2 accepts 20, I assumed the limit had changed, and published that it had been 32 on macOS 26. Testing macOS 26.6.2 later that day showed 20 there as well, so I corrected the correction.
- My first workflow’s length check couldn’t fail. It printed results and passed whatever they said. The version in this guide fails when a limit moves.
My best guess for where 32 came from is a mix-up with the 32-byte size of a 256-bit key. I can’t prove that.
What I didn’t test
- Every length. I tested the lengths in the table above, not each one from 20 to 256.
- Anything but Apple’s
aacommand on 14.8.9, 15.8.2 and 26.6.2. I didn’t test theaeacommand or the AppleArchive framework through these routes. - macOS 12 or 13, other point releases, and 26.x before 26.6.2. I can’t say what an earlier 26.x did, only that I have no record of anyone testing it.
- Intel Macs, as host or runner.
- Signing in to an Apple Account in a VM, running two VMs at once, or macOS 14 or 15 as UTM guests. For those two versions, I used runners.
- GitHub’s
macos-26runner. I tested 26.6.2 in the VM before I’d thought of runners.
Related
- Encrypt with Apple Encrypted Archive
- What is an .aea file?, which has the published correction