ypresto / SwiftLintXcode

An Xcode plug-in to format your code using SwiftLint.
Other
351 stars 15 forks source link

Executing `which swiftlint` exited with non-zero status. #10

Closed ttuygun closed 8 years ago

ttuygun commented 8 years ago

This is the error when I encountered in Xcode 7.3.1

ypresto commented 8 years ago

Please ensure swiftlint binary is installed on your PATH..!

aniforprez commented 8 years ago

Hey I'm having the same issue. How do I do this? I installed SwiftLint with HomeBrew...

ypresto commented 8 years ago

Is your homebrew is placed on /usr/local..? symlink should be placed on /usr/local/bin/swiftlint if you installed anywhere else.

aniforprez commented 8 years ago

Hey, found out that the version of swiftlint was an old one without the 'autocorrect' command. brew update and then brew upgrade swiftlint solved the issue. Thanks!