Step 1: add libxml2.dylib
1. Click your project (XmlTest) in the left navigator bar.
2. Select the target (XmlTest), then select "Build Phases" tab.
3. Expand "Link Binaries With Libraries"
4. Click "+", select libxml2.dylib
Step 2: add libxml2 in header search path
1. still in thie page, select "Building Setting".
2. Expand "Search Path", find "Header Search Paths", add"usr/include/libxml2"
1 comments:
Thanks, this is exactly what I was looking for
Post a Comment