SwiftLint for Xcode is a Xcode Extension that was created to run SwiftLint.
- Xcode 26.0 or later
- macOS 26.0 or later (macOS Redwood or later)
- SwiftLint
- Install Xcode 26.0 or later
- Clone this repository.
- Open
SwiftLintForXcode.xcodeprojby double clicking on it. - Configure signing with your own developer ID on all three targets (SwiftLintForXcode, SwiftLint and SwiftLintHelper).
- Quit Xcode.
- Open a terminal, change to the directory where you cloned and run
xcodebuild -scheme SwiftLintForXcode install DSTROOT=~to compile the extension. - Run
~/Applications/SwiftLintForXcode.appand quit. - Go to System Preferences -> Extensions -> Xcode Source Editor and enable the extension.
- Open Xcode and the extension should be found in Editor -> SwiftLint.
Norio Nomura
SwiftLint for Xcode is available under the MIT license. See the LICENSE file for more info.