iPhone libxml2 not found during build

后端 未结 2 515
无人及你
无人及你 2020-12-31 06:46

I currently got some errors with libxml2 in my iPhone project. This was working before, after making some changes in my build properties building failed. (libxml2.dylib is a

2条回答
  •  离开以前
    2020-12-31 07:12

    • Add libxml2.dylib in Build Phases.
    • Add TFHpple.m, TFHppleElement.m, XpathQuery.m to Build Phases (Compile Sources).
    • Add
      Other Linker Flags: -lxml2 
      Header Search Paths: ${SDK_DIR}/usr/include/libxml2

    in PROJECT --> Build Phases and in TARGETS --> Build Phases.

提交回复
热议问题