Limits
What localix-twin needs, what it costs, and what it does not do yet.
What it needs
- A Mac with Apple silicon. The engine is Apple's Virtualization framework: there is no Intel or Linux host.
- Apple's terms and the framework allow two macOS guests at a time on one Mac. Linux guests are not limited this way; twin can attach to a Linux machine's screen today, and running one is planned.
- The entitlement to run virtual machines:
scripts/signafter every build.
What it costs
- A running twin holds its memory plus about 1.5 GB on the host, and does not give memory back while it runs. A 4 GB twin holds about 5.6 GB.
- A boot to a twin that answers commands takes 15 to 18 s.
- An image is about 21 GB on disk; twins cloned from it take only what they write.
What it does not do yet
- Resuming in a second. Saving a running machine's state fails on this Mac with "permission denied", for twin and for another tool on the same guest alike; until that is understood, a twin boots each time.
- An image with no hands. The first step of an image, Apple's setup assistant, is done on the screen by hand or by an agent; the rest is scripts.
- Ready images to download. Every image is installed from Apple on the Mac that runs it (see Images).
- A quiet first screen. macOS shows "App Background Activity: twin can run in the background" after every boot, because twin's agent starts at boot. Without device management it cannot be turned off; for a clean screenshot, click the banner and then Clear.
- iPhone and USB devices. The framework does not pass USB devices to a guest.