1 将GDataxMLNode.h和GDataXMLNode.m文件加入到项目中

2 进入Xcode,打开Project->Edit Project Settings

3 进入Build Tab

4 找到Linking段,在Other Linker Flags设置中填上:-lxml2

5 找到Search Paths段,在Header Search Paths设置值为:/usr/include/libxml2

6 然后就可以使用GDataXML来解析xml了。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2021-09-14
  • 2022-12-23
  • 2021-05-17
猜你喜欢
  • 2021-12-22
  • 2021-05-24
  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2021-08-04
相关资源
相似解决方案