Skip to main content
An availability zone is one local network of simulator hosts and Xcode builders. Inside a zone, a builder can hand its .app straight to a simulator over the local network instead of through durable storage, so installs are much faster. Zone ids are <site>-<letter>, such as sto-hq-a. An id always refers to the same network.

List zones

capacity counts the hosts in the zone that your organization can use. It is not a count of idle simulators. lanInstall is true only when the zone has an Xcode builder with a local artifact cache and simulators that can receive from it. A zone without both still runs sessions, but installs come from durable storage.

Pick a zone for a session

Pass zone when you create a session.
Every session reports the zone of the host it runs on. A host that is not in any zone has no zone field.

Errors for a pinned zone

All of these are returned before or instead of placing a session in another zone.

Pick a zone for an Xcode build

Pass zone to an Xcode build to run it only on that zone’s builders. Builds report the zone they are pinned to, or the zone of the builder that staged their artifact.
Pinning a build is the surest way to get local-network installs: simulators created for its Asset are placed in the same zone, and pinning such a session to a different zone fails with zone_conflict. A build pinned to an unknown zone fails with 400 unknown_zone, and to a zone without builders with 409 zone_unavailable.