How to link libxml2 in Xcode for use with TouchXML? 1. Copy TouchXML files. They are wrappers to libxml2. 2. Instead of copying an extra copy of libxml2 to the project frameworks, add the following to the target information: Header Search Paths:
/usr/include/libxml2Other Linker Flags:
-lxml2(Of course assuming, that libxml2 is present at this location on your system.) In the Target Info, make sure to select the current configuration to see the values. Otherwise you get <Multiple Values> and they look like it’s not possible to edit them. Took me a while to figure out, that changing the configuration [top left] was the key. Duh.