SPB Git

Repository Public

ios-test-report.md 6.5 KB

# iOS / iPadOS test report — Claude Remote and Codex Remote 1.0.0 (1)

Date: 2026-11-20 · Xcode 27.2 · simulators "CR iPhone 17 Pro" and "CR iPad Pro 13" (iOS 26.5 runtime) · backend: native dev stack on M5M36 through ssh -L 8625 (http://localhost:8625, fake echo agent, real shells, account nativedev). No physical device was connected.

# Results

Check Command Result
Kit unit tests (after the one-line kit change) Scripts/kit.sh test all suites passed (67 + 24 + 8 + 21 + 25 + 41 + 23 tests; 1 pre-existing known issue in EngineTests)
App unit tests Apps/iOS/Scripts/build.sh test 68 tests in 13 suites passed
Builds Apps/iOS/Scripts/build.sh all 8 × BUILD SUCCEEDED: {Claude, Codex} × {Debug simulator, Release simulator, Debug generic iOS device, Release generic iOS device (unsigned compile)}
Signed Release archives Scripts/release.sh all both both archived, exported, altool --validate-app: VERIFY SUCCEEDED (see ios-release.md)
XCUITest, iPhone, Claude Remote Scripts/build.sh uitest phone claude 6 tests, 0 failures
XCUITest, iPad, Claude Remote Scripts/build.sh uitest pad claude 6 tests, 0 failures
XCUITest, iPhone, Codex Remote Scripts/build.sh uitest phone codex 6 tests, 0 failures
XCUITest, iPad, Codex Remote Scripts/build.sh uitest pad codex 6 tests, 0 failures

The Codex Remote runs use the Codex target (bundle id, branding, URL scheme) against the same dev stack, which is a Claude-agent instance: they verify the second target and its branding, not a Codex server.

# What the UI tests do (Apps/iOS/UITests/CoreFlowUITests.swift)

  1. Sign-in through the real screens after a local wipe: passkey button present, wrong password → error shown, password → second-factor screen → TOTP code → Home with the live connection indicator.
  2. Terminal on the fixture shell session: type echo <marker>-$((40+2)) and read <marker>-42 back; key row: literal -, Enter, chord ^C interrupting sleep 600, sticky ctrl (state "Active for the next key") + l; read the shell PID; rotate to landscape (terminal columns change, command still works); background → foreground and check the PID is the same; terminate the app and relaunch → state restoration reopens the terminal, same PID. iPad only: open the side-by-side Files panel, run a command with the panel open.
  3. Files: project → browse → New File → type → Save → "Saved" → back → reopen → content read back from the server.
  4. Task: create a task that prints 6 lines over 6 s; the log shows tick-1 while running and all-done at the end; state Succeeded.
  5. Settings: key-row editor (add a key), devices list contains "This device".
  6. App lock (fake device-owner verification, -CRMockBiometry): enable → cold start is locked → failed verification stays locked → successful verification unlocks → sign out returns to the sign-in screen.

The terminal text is read through a DEBUG-only accessibility probe enabled by -CRUITest 1 (compiled out of Release).

# Screenshots (docs/evidence/ios/, 150+ PNG)

  • <phone|pad>-<claude|codex>-<light|dark>-<screen>.png — 12 screens × 2 themes × 2 brandings × 2 devices = 96, taken by Scripts/shots.sh through deep links: home, sessions, terminal, projects, files, tasks, cluster, skills, mcp, system, notifications, settings.
  • <phone|pad>-<claude|codex>-flow-<step>.png — from the UI tests: signin, second-factor, home, terminal-typed, terminal-landscape, terminal-reattached, terminal-files-panel (iPad), projects, project-detail, files, editor, new-task, task-detail, settings, key-row-editor, devices, lock.

I looked at contact sheets of: iPhone Claude light and dark (all 12), iPhone Codex light (8), iPad Claude light (12), and the iPhone and iPad Claude flow sets. Defects found and fixed: terminal text touching the screen edge (padding added); session rows showing only a grey dot for the state (full status pill); a root tap gesture that swallowed taps on navigation rows (replaced by a window-level observer that never takes part in gesture resolution); iPad sidebar hidden in portrait (shown by default); stat tiles wrapping 3 + 1 on iPad (four columns); tab bar left visible over the editor on iPhone (hidden). The remaining sets (Codex dark, iPad dark, iPad Codex) were captured but not individually reviewed.

# Honest notes

  • Failures met on the way that were test problems, not app problems: key-row keys off screen in the scrolling row, SwiftUI alert fields not exposing identifiers, a race reading the PID before the output line, a created file below the fold of a list that had accumulated earlier test files, and UI-test launches restoring the previous place instead of Home (fixed with the DEBUG flag -CRNoRestore 1; the restoration step itself launches without it).
  • Two iPad runs failed entirely (sign-in screen / Home "not found" for every test) just before -CRNoRestore was added. The restore behaviour explains tests 2–6; why test 1 did not find the sign-in screen in those two runs was not identified. A manual launch with the same arguments showed the sign-in screen, and the two following complete iPad runs (Claude and Codex) passed 6/6.
  • A wrapper mistake (zsh not splitting "pad claude") made one batch run four times on the iPhone with Claude; those results were discarded and the four combinations above were re-run individually.
  • The dev stack has no cluster telemetry, no APNs key, a fake agent that never waits for input: cluster charts with data, push delivery, "needs input" cards and prompt keys were not seen with real data.

# Not verified (no hardware, or not exercised)

Passkey sheet (sign-in, second factor, registration), Face ID / Touch ID / passcode with the real authenticator, Secure Enclave device key in a signed build, APNs registration and delivery, notification tap routing, universal links, Handoff, widgets on a Home Screen or Lock Screen, Shortcuts / Siri / Spotlight results, Home-screen quick actions, background app refresh, hardware keyboard and trackpad on a real iPad, multiple windows / Stage Manager / Split View resizing, drag and drop, pinch-to-zoom of the terminal, VoiceOver and Dynamic Type passes, behaviour on network loss, Photos / Files upload pickers, Quick Look, share sheet, git diff with real changes, session create / rename / archive / restart / terminate from the UI, task cancel / retry / artifacts, skills and MCP mutations, device revocation, lockout countdown.

Files main
Menu

Theme