Use swift-format provided by Xcode as a Xcode plugin

Speaking of formatting code in place via "swift-format", when would I need Xcode plugin instead of a build phase (e.g. as done here, changing the formatting string from lint to format --in-place and moving the build phase to happen before "Compile Sources"?

1 Like