Skip to content

V1 limits

The first version of Wraith Box (V1-initialV1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.) leaves some things out. This page lists the limits you meet while you use it, and what works instead.

The first limit shows up as an xcodebuild error that doesn’t name it, so this page is where you learn about it.

No macOS tests through xcodebuild, and no macOS apps

Section titled “No macOS tests through xcodebuild, and no macOS apps”

In a macOS guest these fail:

  • xcodebuild test of any macOS target, including a Swift package’s;
  • launching a macOS app.

Both need a GUI login session, and no project user has one in the guest (S06-04-vms-and-placementS06-04-vms-and-placement: VMs and PlacementThe work VM and the isolated VM, Xcode in them, and which VM a project's sessions run in.). The test fails with a testmanagerd error that doesn’t name this limit.

What works: Xcode builds, swift build and swift test, and signing to run locally.

iOS simulators and their tests don’t run in the guest under V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.’s guest confinement (S06-04-vms-and-placementS06-04-vms-and-placement: VMs and PlacementThe work VM and the isolated VM, Xcode in them, and which VM a project's sessions run in., I196I196 (open): Simulators leave the session: per-user launchd domain and the Seatbelt profileFrom the X06-guest-xcode result (#20), for S13-guest-confinement layers 1 and 2.).

macOS runs at most two macOS guests at a time, and that count includes guests other software started. When no slot is free, wb tells you so instead of starting the VM (NFR05-two-macos-vmsNFR05-two-macos-vms: Platform limitmacOS permits at most two concurrently running macOS guests per host., S06-07-slot-admissionS06-07-slot-admission: Slot AdmissionHow wb-hostd admits every macOS VM it starts against the limit of two, and lends the isolated VM's slot to a maintenance VM.).