Search code examples
iosios7xcode5

Compile time Error libxml2.dylib


I have found following error while compiling my project in xcode 5.

enter image description here


Solution

  • try this

    1-In target Build Settings, Linking -> Other Linker Flags, add -lxml2
    2-In target Build Settings, Search Paths -> Header Search Paths, add $(SDKROOT)/usr/include/libxml2
    3-In target Build Phases, Link Binary With Libraries, add libxml2.dylib