Skip to content
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

Ambiguous use of 'Element' #217

Closed
rahul-apple opened this issue Aug 29, 2019 · 3 comments
Closed

Ambiguous use of 'Element' #217

rahul-apple opened this issue Aug 29, 2019 · 3 comments

Comments

@rahul-apple
Copy link

rahul-apple commented Aug 29, 2019

Ambiguous use of 'Element' error on Building Project

To Reproduce
Steps to reproduce the behavior:

  1. Adding SWXMLHash via cocoa pods
  2. Build the project
  3. Shows errors with Ambiguous use of 'Element'
  4. See error

Screenshots
image

Environment:

  • Xcode version: [e.g. Xcode 10]
  • Swift version: [e.g. 5.0.1]
  • OS running SWXMLHash: [e.g. MacOS 10.14.1 running Xcode]
@drmohundro
Copy link
Owner

Can you also post what your Podfile looks like? Thanks!

@drmohundro
Copy link
Owner

I think this is from an old version of SWXMLHash... if you're on Xcode 10 with Swift 5+, make sure your Podfile is targeting 5.0.0. Like so:

pod 'SWXMLHash', '~> 5.0.0'

See also #140.

@drmohundro drmohundro added the awaiting reply Waiting on a response... if no action is taken, this ticket will be closed. label Sep 2, 2019
@rahul-apple
Copy link
Author

@drmohundro 👍 It was an issue with old Xcode

@drmohundro drmohundro removed the awaiting reply Waiting on a response... if no action is taken, this ticket will be closed. label Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants