Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 227
Lakshmi Avatar asked Jul 06 '11 06:07

Lakshmi


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

like image 187
saturngod Avatar answered Sep 18 '22 01:09

saturngod