diff --git a/docs/watchos-live-workout-plan.md b/docs/watchos-live-workout-plan.md index 03c4c2e..7a9286d 100644 --- a/docs/watchos-live-workout-plan.md +++ b/docs/watchos-live-workout-plan.md @@ -1,6 +1,6 @@ # Chantier watchOS — Live Workout sur iPhone -**Statut** : Phases 1-3 RÉALISÉES (Mac, 2026-05-25, voir "Avancement réel" en bas). Reste : test device + TestFlight. +**Statut** : ✅ **CHANTIER CLOS** — test E2E sur hardware réel PASSÉ (2026-05-31, voir bas de page). Vraie FC Watch Ultra 3 → /live confirmée. Reste seulement : upload TestFlight interne (compte App Store Connect Sylvain). **Owner exécution** : Claude Code lancé sur le Mac (cd `~/coach-ios && claude`). **Origine** : memory `project_coach_watchos_live.md` + session Linux 2026-05-24. @@ -492,6 +492,23 @@ L'app embarque bien `Watch/CoachWatch.app` + `PlugIns/CoachLiveActivity.appex` (embedded binary validation OK). Xcode 26.5. Aucune régression depuis `a41a1b1` (cardiac-aware zones natives dans CoachLiveView). Chantier natif = déployable. +### ✅ Test E2E hardware réel PASSÉ (2026-05-31) + +Après re-pairing de la Watch (bug Santé résolu côté Sylvain), déploiement sur +devices physiques depuis le Mac : +- Signing réel validé (`generic/platform=iOS` → BUILD SUCCEEDED, profil + *iOS Team Provisioning Profile: ch.hypnotruck.coach*, team `TZ2PVTRKNY`). +- `xcrun devicectl device install app` sur iPhone 17 Pro Max + (udid 00008150-…) → `App.app` + embed `Watch/CoachWatch.app` + + `PlugIns/CoachLiveActivity.appex`. CoachWatch poussée sur la Watch Ultra 3 + par l'iPhone companion. +- **Séance lancée sur CoachWatch → vraie FC affichée sur /live (iPhone)** : + confirmé par Sylvain (« ça marche »). Toute la chaîne native + WatchConnectivity + + plugin Capacitor + backend /live fonctionne sur vrai matériel. + +Le chantier watchOS Live Workout est donc fonctionnellement TERMINÉ. Seul reste +l'upload TestFlight interne (compte App Store Connect Sylvain). + ### Reste à faire — 2 blocages EXTERNES (pas le code natif) 1. ~~**Backend `/live`**~~ ✅ FAIT + DÉPLOYÉ (2026-05-25) : la route/auth/template