feat(watchos): target CoachWatch (Phase 1) — app watchOS embarquée

- nouvelle target watchOS app CoachWatch (ch.hypnotruck.coach.watchkitapp), SwiftUI, SDK watchos
- entitlement HealthKit + Info.plist FR (NSHealthShare/UpdateUsageDescription) + WKBackgroundModes workout-processing
- "Embed Watch Content" + dépendance App -> CoachWatch (CoachWatch.app dans App.app/Watch)
- schemes partagés App + CoachWatch
- CoachWatchApp.swift + ContentView.swift minimaux

Build validé: target watchsimulator + embed dans App.app (iphonesimulator).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Sylvain
2026-05-24 16:09:37 +02:00
parent ec26ae0ca7
commit 5d60a4049e
7 changed files with 438 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import SwiftUI
struct ContentView: View {
var body: some View {
VStack(spacing: 8) {
Image(systemName: "heart.fill")
.foregroundStyle(.red)
Text("Coach")
.font(.headline)
Text("Prêt")
.font(.caption)
.foregroundStyle(.secondary)
}
.padding()
}
}
#Preview {
ContentView()
}