NucleicandClaude Opus 4.8 cfa823bc13 iOS pairing scanner: surface "could not start" + Try Again
On-device logs proved the camera is being blocked by device state, not
the app: every retry showed window=true app=active scene=foregroundActive
yet reason-1 (videoDeviceNotAvailableInBackground) persisted for 6s — the
signature of iPhone Mirroring / a locked tethered device, where iOS
disables the camera (the recurring com.apple.PointerUI log is the Mac
pointer driving the phone).

Rather than sit on a black screen after retries are exhausted, report a
new .couldNotStart state explaining the likely cause (locked / mirrored)
with a "Try Again" button that rebuilds the capture session from scratch
(via .id(retryToken)). App-side capture code is correct; this is a
graceful fallback for an environment that withholds the camera.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-21 17:16:08 -07:00
S
Description
No description provided
2 MiB
Languages
Swift 100%