Develop

[ios] libxml/tree.h file not found

by hooni posted Aug 08, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

libxml/tree.h file not found

My today's project involved working on XML. As I mentioned in my previous post, I used some external solution for consuming XML Web Services called SudzC. I included generated classes to my iOS project and when it came to compilation, I received the following error: "libxml/tree.h file not found"
After doing some investigation, I found a solution for the problem. The following steps needed to be done:
1) Include libxml2.dylib library into project target:

1.png

2. Add '$(SDKROOT)/usr/include/libxml2’ path to 'Header Search Paths' element for project's target: 

2.png