When using swiftlint and cocoapods, beginners will have difficulty. So I created the JercyProjectMaster, which is easier to use with the UI.
JercyProjectMaster has two functions. swiftlint, and cocoapods.
Press the swiftlint button to see the above screen. Check the name and description and check the lint you want to use.
The checks that are set by default refer to swiftlint's Ruels.md.
If you install swiftlint using homebrew instead of cocoapods, You can use the bottom two buttons.
Press "update build phase" button to add swiftlint and swiftlint autocorrect to the build phase of the selected project. so that you can check swiftlint on every build.
Press "install swiftlint" button to install swiftlint using brew. (If the homebrew is not installed, install the brew too.)
When you click the "cocoapods" button, the podfile is read from the selected project folder. If the podfile is not in the project folder, an alert window will appear asking if you want to run pod init.
If you do not have cocoapods installed during pod init, use gem to install cocoadpos. At this time, you need to enter the password because you will proceed with the sudo command.
More information about cocoapods can be found here.
If you have any questions, please register as an issue.
Everyone is welcome to contribute to JercyProjectMaster.