-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Xcode 10 complains about String extensions #22
Comments
I'll have a look very soon and make a branch named |
Sure thing, let me know how I can help you in testing. Etc. |
Okay, I have just tried building the project and saw the same issue. But this is actually a SwiftLint related one and SwiftLint doesn't even run when this project is included via Carthage. How are you including it? Via CocoaPods without frameworks? Or manually somehow? |
I am trying to build it manually. The CSVImporter that uses HandySwift complains that HandySwift is not built with latest swift code. Thus taking me back to HandySwift project and when building manually i encounter this error. however I have realised that my problem came from not running the workspace and a single project, now it works fine. :) |
Please be aware that "not built with the latest swift code" usually can be solved by changing your toolchain to that of Xcode 10 and then, well, rebuilding your dependencies. But if you worked it out somehow differently, that's good, too. Btw this is a false positive on SwiftLint, so I reported it there. Closing this one then. I'll probably still do a Xcode 10 branch soon to elaborate what we should change. |
If anyone else is still running into this after upgrading to 0.27, try deleting your |
Seems like Xcode 10 with newer swift version complains about the following code:
public enum AllowedCharacters {
case numeric
case alphabetic
case alphaNumeric
case allCharactersIn(String). // Identifier Name Violation: Enum element name should only contain alphanumeric characters: 'allCharactersIn(_:)' (identifier_name)
}
resulting in not working:
case .allCharactersIn(let allowedCharactersString):
return allowedCharactersString
}
}()
The text was updated successfully, but these errors were encountered: