docs(session-xcode): exclut build/ de la vérif de câblage
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
# les fichiers Swift sont-ils tous câblés ? (doit ne rien afficher sauf
|
||||||
# CoachWatchComplications si tu as sauté l'étape 5)
|
# 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"
|
grep -q "$(basename $f)" ios/App/App.xcodeproj/project.pbxproj || echo "NON CÂBLÉ: $f"
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user