How to solve "LibXml/xmlreader.h Not found" error in Twitter integration in iPhone

Viewed 15887

I want to integrate Twitter in my application. I integrated related files and added libxml2 library. I included the path for it in "Header Search paths" field. When i try to build my application, I am getting errors showing that LibXml/xmlreader.h: No Such file or Directory.

Can anyone please help me in this. Thanks in Advance.

1 Answers

Go to the project > Targets > Build Settings

Search Header Search Paths

Add

$(SDKROOT)/usr/include/libxml2

Make sure

Build Settings -> Always Search User Paths -> YES

Related