After following the instructions here to setup libxml on Swift: libxml/tree.h no such file or directory
I encountered an error while compiling which said:
I got this error when I had an invalid path to a framework in my Framework Search Path and User Header Search Paths. I simply fixed the path by adding ".framework" to the end of the path, to make the path valid, and this error went away.
Framework Search Path
User Header Search Paths