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.