更新Xcode9.3 后,项目工程里的KissXML/DDXMLDocument.m文件报错:

1、Declaration of 'xmlKeepBlanksDefault' must be imported from module 'libxml2.parser' before it is required

2、Conflicting types for 'xmlParseMemory'

DDXMLDocument

KissXML/DDXMLDocument: Declaration of 'xmlKeepBlanksDefault' must be imported



解决办法----缺啥补啥,在KissXML/DDXMLDocument.m中引入头文件 :

    #include <libxml2/libxml/parser.h>


    编译通过!!!


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
  • 2022-12-23
  • 2021-12-11
  • 2021-10-14
  • 2021-11-17
猜你喜欢
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-05-01
相关资源
相似解决方案