2.4 KiB
2.4 KiB
Step 12 Hardware Disconnect/Reconnect Pass
Date
- 2026-02-11 (UTC timestamp used during check:
2026-02-11T18:45:42Z)
Coverage Attempted
- Device inventory:
xcrun xcdevice list
- iOS destination eligibility:
xcodebuild -project iphone/Werkout_ios.xcodeproj -scheme 'Werkout_ios' -showdestinations
- watchOS destination eligibility:
xcodebuild -project iphone/Werkout_ios.xcodeproj -scheme 'Werkout_watch Watch App' -showdestinations
Findings
- Hardware watch pass could not be executed from this environment.
- Evidence:
- watch scheme showed simulator destinations only under available destinations.
- the only physical watch destination was ineligible:
Hollie’s Apple Watchwith error indicating watchOS version mismatch/unknown against deployment targetwatchOS 9.4.
- Evidence:
- Physical iOS devices are present/eligible.
- Evidence:
- available iOS hardware destinations included:
Gary Tartt’s iPadiholliebPeeeeeeeeellll
- available iOS hardware destinations included:
- Evidence:
- Physical watch pairing/connectivity state is the blocking dependency for true hardware disconnect/reconnect validation.
What Was Added For Immediate Re-Run
- Hardware run script:
scripts/hardware/watch_disconnect_hardware_pass.sh
- Script behavior:
- validates eligible physical iOS + watch destinations
- performs hardware-targeted preflight builds (
CODE_SIGNING_ALLOWED=NO) - emits manual disconnect/reconnect checklist and pass criteria artifact
Manual Hardware Scenario (Pending Once Watch Is Eligible)
- Start iOS + watch apps on physical paired devices.
- Start workout from iOS.
- Break transport (Bluetooth off on iPhone or Airplane Mode on watch) for ~30s.
- While disconnected, trigger multiple state changes on iOS.
- Reconnect transport and verify watch converges to latest state without crash/replay loop.
- Repeat for two disconnect/reconnect cycles.
Current Status
- Blocked on eligible physical watch destination.
- Queue/replay behavior is covered by automated tests in
SharedCore/Tests/SharedCoreWatchOSTests/BoundedFIFOQueueTests.swift, but physical transport behavior remains unverified until watch eligibility is fixed. - In this Codex shell, scripted destination probing/building is additionally constrained by sandboxed write restrictions to Xcode/SwiftPM cache paths; manual run on your local terminal is expected once watch hardware is eligible.