$ brew install --cask swiftformat-for-xcode This will install SwiftFormat for Xcode in your Applications folder. Double-click the app to launch it, and then follow the on-screen instructions. NOTE:The app should be correctly signed, but if you get a Gatekeeper warning when trying to open ...