You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find team ids and Apple Development signing certificates with:
433
+
security find-identity -v -p codesigning
434
+
If Xcode cannot choose a profile, set AGENT_DEVICE_IOS_PROVISIONING_PROFILE to the profile name/specifier, not a file path.
435
+
AGENT_DEVICE_IOS_SIGNING_IDENTITY is optional; omit it unless xcodebuild asks for a specific identity.
436
+
The profile/team must allow AGENT_DEVICE_IOS_BUNDLE_ID and <id>.uitests.
437
+
First-run XCTest setup/build can take longer than normal commands; keep the device connected and use --debug to inspect signing/build diagnostics if setup times out.
438
+
439
+
Android physical-device prerequisites:
440
+
Enable USB debugging and confirm the device appears in agent-device devices --platform android.
441
+
Android does not need the iOS runner signing setup. For React Native/Expo Metro reachability, read help react-native.`,
442
+
},
409
443
remote: {
410
444
summary: 'Remote config, tenant, lease, and remote host flow',
411
445
body: `agent-device help remote
@@ -436,6 +470,7 @@ Rules:
436
470
For self-contained scripts, pass the same --remote-config to every operational command, including disconnect; a preceding connect is optional but not required.
437
471
For remote artifact installs, use install-from-source <url> or install-from-source --github-actions-artifact org/repo:artifact; do not download CI artifacts locally first.
438
472
After connect, let the active remote connection supply runtime hints.
473
+
For connected phone/tablet setup and iOS signing prerequisites, read agent-device help physical-device.
439
474
For remote Android and iOS bridge React DevTools, run agent-device react-devtools normally. The CLI opens the needed local service tunnel for the DevTools daemon and keeps it alive until agent-device react-devtools stop or disconnect.
440
475
Use --debug when remote connection or transport errors need diagnostic ids and remote log hints.`,
Copy file name to clipboardExpand all lines: website/docs/docs/commands.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -811,17 +811,21 @@ agent-device session list --json
811
811
-`session list` shows active daemon sessions and their tracked device/app context.
812
812
- Use `--json` when you want to inspect or script against the raw session metadata.
813
813
814
-
## iOS device prerequisites
814
+
## iOS physical-device prerequisites
815
+
816
+
For CLI-discoverable setup guidance, run `agent-device help physical-device`.
815
817
816
818
- Xcode + `xcrun devicectl` available.
817
-
- Paired physical device with Developer Mode enabled.
818
-
- Use Automatic Signing in Xcode, or pass optional env overrides:
819
+
- Paired/trusted physical device, connected, unlocked when needed, with Developer Mode enabled.
820
+
- The `AgentDeviceRunner` XCTest host must be signed before commands can run on a physical device.
821
+
- Start with Automatic Signing and only these env vars:
819
822
-`AGENT_DEVICE_IOS_TEAM_ID`
820
-
-`AGENT_DEVICE_IOS_SIGNING_IDENTITY` (optional)
821
-
-`AGENT_DEVICE_IOS_PROVISIONING_PROFILE`
822
823
-`AGENT_DEVICE_IOS_BUNDLE_ID` (runner bundle-id base; tests use `<id>.uitests`)
823
-
- Free Apple Developer (Personal Team) accounts can fail on unavailable generic bundle IDs; set `AGENT_DEVICE_IOS_BUNDLE_ID` to a unique reverse-DNS value.
824
-
- First-run XCTest setup/build can take longer than normal commands; keep the device connected and inspect daemon diagnostics if setup times out.
824
+
- Find team ids and Apple Development signing certificates with `security find-identity -v -p codesigning`.
825
+
- If Xcode cannot choose a profile, set `AGENT_DEVICE_IOS_PROVISIONING_PROFILE` to the profile name/specifier, not a file path.
826
+
-`AGENT_DEVICE_IOS_SIGNING_IDENTITY` is optional; omit it unless `xcodebuild` asks for a specific identity.
827
+
- The profile/team must allow `AGENT_DEVICE_IOS_BUNDLE_ID` and `<id>.uitests`.
828
+
- First-run XCTest setup/build can take longer than normal commands; keep the device connected and use `--debug` to inspect signing/build diagnostics if setup times out.
825
829
- If you override the iOS runner derived-data path and also force cleanup, keep `AGENT_DEVICE_IOS_RUNNER_DERIVED_PATH` under the project `.tmp/` directory. Other cleanup override paths are rejected with a recovery hint.
826
830
- For daemon startup troubleshooting:
827
831
- follow stale metadata hints for `<state-dir>/daemon.json` and `<state-dir>/daemon.lock` (`state-dir` defaults to `~/.agent-device`)
0 commit comments