- Always pipe Xcode/Swift build logs through
xcsiftto keep transcripts small and structured. - Remember to redirect stderr to stdout (
2>&1) soxcsiftsees the full log stream.
- Basic build:
xcodebuild -project <app_name>.xcodeproj -scheme <scheme_name> -configuration Debug build 2>&1 | xcsift - Run tests + coverage:
xcodebuild test -enableCodeCoverage YES 2>&1 | xcsift --coverage - Show warnings explicitly:
xcodebuild build 2>&1 | xcsift --print-warnings