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

'Decodable' is ambiguous for type lookup in this context #13

Closed
luis-ct opened this issue Sep 15, 2017 · 3 comments
Closed

'Decodable' is ambiguous for type lookup in this context #13

luis-ct opened this issue Sep 15, 2017 · 3 comments

Comments

@luis-ct
Copy link

luis-ct commented Sep 15, 2017

When I updated to xCode 9...

screen shot 2017-09-15 at 13 24 10

@aurora14
Copy link

@luis-ct this is because Swift 4 introduces new JSON parsing protocols that also have a name Decodable.

A quick workaround is to use Gloss.Decodable wherever this appears, or add the Gloss pod separately in your podfile and explicitly specify the Swift 4 branch.

@spxrogers
Copy link
Owner

hi @luis-ct, to build off of @aurora14's answer (thank you!)—these changes were fixed as of version 2.0.1 so if you update to the latest version you will no longer have this error.

@luis-ct
Copy link
Author

luis-ct commented Sep 18, 2017

@aurora14 @spxrogers Thanks for answering!

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

3 participants