Swift-format comes built into Xcode 16+ but requires manual setup for automatic formatting and linting. The guide covers creating shell scripts for formatting and linting, configuring Xcode Cloud CI hooks, and integrating these scripts into local Xcode builds through Run Script phases. Key steps include creating ci_scripts
Table of contents
Configuring swift-formatRunning swift-format in Xcode CloudCreate the formatting & linting scriptsConfiguring formatting and linting for local buildsWhy is this so hard?Sort: