Installation
Global install
Without installing
Requirements
- Node.js 22+
- Xcode for iOS simulator/device automation (
simctl+devicectl) - Android SDK / ADB for Android
iOS physical device prerequisites
- Device is paired and visible in
xcrun devicectl list devices. - Developer Mode enabled on device.
- Signing configured in Xcode (Automatic Signing recommended), or use:
AGENT_DEVICE_IOS_TEAM_IDAGENT_DEVICE_IOS_SIGNING_IDENTITYAGENT_DEVICE_IOS_PROVISIONING_PROFILEAGENT_DEVICE_IOS_BUNDLE_ID(optional runner bundle-id base override)- Free Apple Developer (Personal Team) accounts can fail with "bundle identifier is not available" for generic IDs; set
AGENT_DEVICE_IOS_BUNDLE_IDto a unique reverse-DNS value (for examplecom.yourname.agentdevice.runner). - If device setup is slow, increase daemon timeout:
AGENT_DEVICE_DAEMON_TIMEOUT_MS=120000(default is90000)
- If daemon startup reports stale metadata, remove stale files and retry:
<state-dir>/daemon.json<state-dir>/daemon.lock- default state dir is
~/.agent-deviceunlessAGENT_DEVICE_STATE_DIRor--state-diris set
- Optional remote tenancy/lease controls:
AGENT_DEVICE_MAX_SIMULATOR_LEASES=<n>AGENT_DEVICE_LEASE_TTL_MS=<ms>AGENT_DEVICE_LEASE_MIN_TTL_MS=<ms>AGENT_DEVICE_LEASE_MAX_TTL_MS=<ms>
