libxml/tree.h no such file or directory

后端 未结 22 2914
刺人心
刺人心 2020-11-27 10:47

I am getting following errors.

libxml/tree.h no such file or directory

I have already added libxml2.dylib to my pro

22条回答
  •  野性不改
    2020-11-27 11:12

    Don't put libxml2.dylib under frameworks folder put it under root just below the root(Top left blue icon )

    Then Click on the Project (TOP Left blue icon) ,GO to Build Settings,in the search box type "Header Search Paths" and then add the this "$(SDKROOT)/usr/include/libxml2"

    This code resolve my issue hope it will help you fix this

提交回复
热议问题