Skip to content

Xcode 11 beta build error #313

Open

Description

@hoangtuanfithou

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

Activity

  1. viniciusromani commented on Sep 24, 2019

    @viniciusromani

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

  2. orta commented on Sep 24, 2019

    @orta
    Collaborator

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

  3. luko-g commented on Oct 8, 2019

    @luko-g

    @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.

  4. luko-g commented on Oct 9, 2019

    @luko-g

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions