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 ```