-
Notifications
You must be signed in to change notification settings - Fork 205
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
The naming of 'Element' from SWXMLHash.XMLIndexer causes a build failure in Xcode 9 #140
Comments
Have you checked out the latest version |
Thanks @drmohundro – using 4.0.0 resolved the problem for me |
The code compiles now, but the implementation of the Sequence Protocol was dropped from XMLIndexer, which is causing issues in our code? |
Is your current usage If so, just add |
Yah we figured it out, thanks. |
Closing this as I think this should be resolved. |
I found a related issue on the apple swift bugs site: https://bugs.swift.org/browse/SR-4951
When I attempt to build with SWXMLHash on Xcode 9, I encounter the following error:
SWXMLHash.XMLIndexer:72:22: error: invalid redeclaration of 'Element'
public typealias Element = (SWXMLHash.XMLIndexer)
I can rename 'Element' (at line 457 of SWXMLHash.swift) to 'element' using Xcode9's new rename feature and my build works.
The text was updated successfully, but these errors were encountered: