a sample of Xcode Extension that runs `swiftlint autocorrect`
Switch branches/tags
Nothing to show
Clone or download
norio-nomura Merge pull request #10 from norio-nomura/provide-error-output-to-prom…

Implement errorUserInfo to make SwiftLintError conform to CustomNSError
Latest commit 4d374ba Feb 12, 2018


SwiftLint for Xcode

MIT License

SwiftLint for Xcode is a Xcode Extension that was created to run SwiftLint.



  1. Install Xcode 9.1
  2. If you are using OS X 10.11, running sudo /usr/libexec/xpccachectl and rebooting are required for using Xcode Extension.
  3. Clone this repository.
  4. Open SwiftLintForXcode.xcodeproj double clicking on it.
  5. Configure signing with your own developer ID on all three targets (SwiftLintForXcode, SwiftLint and SwiftLintHelper).
  6. Quit Xcode.
  7. Open a terminal, change to the directory where you cloned and run xcodebuild -scheme SwiftLintForXcode install DSTROOT=~ to compile the extension.
  8. Run ~/Applications/SwiftLintForXcode.app and quit.
  9. Go to System Preferences -> Extensions -> Xcode Source Editor and enable the extension.
  10. 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.