-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive for rule identifier_name in Xcode 10 beta #2231
Comments
I fixed this in my PR #2232 |
I'm using Xcode 10 Beta 6 and I'm still getting this error. I'm using swiftlint 0.27.0. Probably I'm missing some detail. Anyone else getting this error? |
Maybe your command line tools are still set to an older version of Xcode? Check via Xcode > Preferences > Locations, or the |
Good point. In fact they still were pointing to Xcode 9.4.1. However, I'm still getting the error (command line tools now on 10.0). |
The problem was solved for me by upgrading to the latest swiftlint version and setting the xcode-select path to the beta xcode |
still not working with latest official xcode release ! |
Sorry for the lack of update. Yes, is it working :) |
@jorgecmoura I don't have xcode beta any more and yet .. it's still give me same error! |
I think you can manually choose the last version of the SwiftLint. It helped me. |
I'm on SwiftLint |
Small update. I noticed |
@rafalszastok You can work around this by telling danger to use the system swiftlint in your Dangerfile: swiftlint.binary_path = "/usr/local/bin/swiftlint" |
I still see this problem. We are using XCode 10, swift version 4.2 and swiftLint 0.27.0 |
Any update on this ? |
Hey guys,
I've just received a bug report in one of my open source projects here which is related to the
identifier_name
rule. Specifically here's the code where the rule triggers an error:As you can see it's complaining about – probably – the braces which shouldn't be the case.
I'm using SwiftLint 0.25.1.
The text was updated successfully, but these errors were encountered: