Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norio-nomura/swiftlintforxcode
a sample of Xcode Extension that runs `swiftlint autocorrect`
https://github.com/norio-nomura/swiftlintforxcode
Last synced: 2 months ago
JSON representation
a sample of Xcode Extension that runs `swiftlint autocorrect`
- Host: GitHub
- URL: https://github.com/norio-nomura/swiftlintforxcode
- Owner: norio-nomura
- License: mit
- Created: 2016-06-20T14:03:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T02:04:18.000Z (almost 7 years ago)
- Last Synced: 2024-10-14T03:23:56.190Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 38.1 KB
- Stars: 186
- Watchers: 11
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftLint for Xcode
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)SwiftLint for Xcode is a Xcode Extension that was created to run [SwiftLint](https://github.com/realm/SwiftLint).
## Requirements
- Xcode 9.1
- [SwiftLint](https://github.com/realm/SwiftLint)## Install
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.## Author
Norio Nomura
## License
SwiftLint for Xcode is available under the MIT license. See the [LICENSE](LICENSE) file for more info.