1. Open Your project in XCode and drag and drop all .h & .m Files into an appropriate folder 2. In the project settings add "/usr/include/libxml2" to the "header search paths" field 3. Ctrl Click the Frameworks group choose Add -> Existing Frameworks and from the list choose libxml2.dylib