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

Xcode 11 beta build error #313

Open
hoangtuanfithou opened this issue Aug 18, 2019 · 4 comments · May be fixed by #314
Open

Xcode 11 beta build error #313

hoangtuanfithou opened this issue Aug 18, 2019 · 4 comments · May be fixed by #314

Comments

@hoangtuanfithou
Copy link

hoangtuanfithou commented Aug 18, 2019

May I know how to resolve this error:

  • Error: Swift Compiler Error Group
    Ambiguous reference to member 'constrain(dimension:withConstant:relation:)'
  • Xcode: Version 11.0 beta 5 (11M382q)

Thanks so much

@viniciusromani
Copy link

I'm having the same issue as well. Any update on this?

@orta
Copy link
Collaborator

orta commented Sep 24, 2019

No merged PRs on it - you're welcome to look at it

@luko-g luko-g linked a pull request Oct 8, 2019 that will close this issue
@luko-g
Copy link

luko-g commented Oct 8, 2019

@hoangtuanfithou @viniciusromani
Check out #314

@orta I created a PR to fix this. Seems like function name constrain is reserved for a Cocoa SDK.
In the PR i renamed the function to cg_constrain. Not the best name but it compiles.

@luko-g
Copy link

luko-g commented Oct 9, 2019

Alternatively you can use namespaces.
Cartography.constrain

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

Successfully merging a pull request may close this issue.

4 participants