Skip to content

"'XMLElement' is ambiguous for type lookup in this context" when compiling for Mac Catalyst #256

@GerdC

Description

@GerdC

Describe the bug
Compiler complains about "'XMLElement' is ambiguous for type lookup in this context" when compiling for Mac Catalyst

To Reproduce
Steps to reproduce the behavior:

  • In an iOS project target, enable Mac Catalyst
  • Compile code that uses XMLElement

Expected behavior
compiles without error message

Environment:

  • Xcode version: 13.2.1
  • OS running SWXMLHash: MacOS 12.2.1 running Xcode

Additional context
appears to be a known problem when directly compiling for MacOs. XMLElement Sourcecode says
// Workaround for "'XMLElement' is ambiguous for type lookup in this context" error on macOS.

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