I started a new iOS project in Xcode with SwiftUI and I want to install swift-format to format the code as I work on the app. Unfortunately, it seems harder then I anticipated.
The library: https://github.com/apple/swift-format
I added swift-format package using Xcode, like this: File -> Swift Packages -> Add Package Dependency....
And I have no idea why the executable is disabled:
Anyways, after selecting the first two options (SwiftFormat and SwiftFormatConfiguration) I don't know how to use this library in order to format the code...
My question is, how I can run this library so that it formats the files for me?


