From 1e7adb709ef53e6ed64d78a8835930ccc6dfdf37 Mon Sep 17 00:00:00 2001 From: Sylvain Bettinelli Date: Mon, 3 Aug 2026 14:44:09 +0000 Subject: [PATCH] =?UTF-8?q?docs(session-xcode):=20exclut=20build/=20de=20l?= =?UTF-8?q?a=20v=C3=A9rif=20de=20c=C3=A2blage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La commande listait tout DerivedData et les checkouts SPM en « NON CÂBLÉ » (15 faux positifs constatés sur le Mac le 2026-08-03). Le dossier build/ n'existe pas côté serveur dev, d'où l'angle mort. Co-Authored-By: Claude Opus 5 --- docs/SESSION-XCODE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/SESSION-XCODE.md b/docs/SESSION-XCODE.md index 093aeb7..c2683db 100644 --- a/docs/SESSION-XCODE.md +++ b/docs/SESSION-XCODE.md @@ -236,7 +236,9 @@ cd ~/coach-ios && git log --oneline -3 && git status -sb # les fichiers Swift sont-ils tous câblés ? (doit ne rien afficher sauf # CoachWatchComplications si tu as sauté l'étape 5) -for f in $(find ios -name '*.swift' -not -path '*/CapApp-SPM/*'); do +# -not -path '*/build/*' est indispensable : DerivedData et les checkouts SPM +# contiennent des centaines de .swift qui n'ont rien à faire dans le pbxproj +for f in $(find ios -name '*.swift' -not -path '*/build/*' -not -path '*/CapApp-SPM/*'); do grep -q "$(basename $f)" ios/App/App.xcodeproj/project.pbxproj || echo "NON CÂBLÉ: $f" done ```