Jungsu Kim
Jungsu Kim

Reputation: 94

Can't build XMPPFramework for iOS 6

I have some unsolved problems when i am using XMPPFramework ...

At first I downloaded it on (https://github.com/robbiehanson/XMPPFramework)

as i know, it is the lastest version which can be used in iOS6...

Second, I attached source-code on my program (Authentication,Categories,Core,Extensions,Utilities,Vendor).

Third, I changed some paths User Header Search Paths = /usr/include/libxml2 Other Linker Flags = -lxml2

but, result is "Lexical or Preprocessor issus 'libxml/tree.h' file not found"

what should i do? if i was change from libxml to libxml2 ... i cannot another .h files which are prohibited...

plz help me and thanks in advance...

Upvotes: 1

Views: 1248

Answers (2)

Stephen Rakonza
Stephen Rakonza

Reputation: 1

I had this problem too. My XMPPFramework folder was a sibling to my iOS project. In my iOS project, I had created an Xcode group folder, then dragged the KissXML folder content into that project folder (group), without copying files.

The solution was to delete the group, drag the KissXML folder into the project and copy them into the project. So now, on disk, my KissXML files exist under my project folder. This isn't what I want, but it now compiles fine.

Upvotes: 0

paulmelnikow
paulmelnikow

Reputation: 17208

You need to add /usr/include/libxml2 to Header Search Paths, not User Header Search Paths.

Upvotes: 4

Related Questions