SwiftLint for Xcode is a Xcode Extension that was created to run SwiftLint.
- Xcode 9.1
- SwiftLint
- Install Xcode 9.1
- If you are using OS X 10.11, running
sudo /usr/libexec/xpccachectl
and rebooting are required for using Xcode Extension. - Clone this repository.
- Open
SwiftLintForXcode.xcodeproj
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.app
and 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.