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:
Issue cropped up after adding my first swift class to the project.
I fixed it by going into the build settings for ALL targets (including the actual project) and remove any erroneous paths from Framework Search Path
.
Specifically:
Simplified the main target to:
$(inherited)
$(SRCROOT)
And by removing an old, erroneous path to libxml2
on the project.