Reputation: 1306
I am trying to add xmpp framework in my ios app.After adding it's showing
libxml/tree.h file not found
after some googling I found that need to add libxml2.dylib in Build Phases -> Link Binary With Libraries.But I am not finding this file. but i found .tbd file.I try to add .tbd file and set Header search path as $(SDKROOT)/usr/include/libxml2
but it still showing same error.
I know that same question asked many times but I am not solving this issue. Please help.
Upvotes: 3
Views: 2315
Reputation: 1306
To add libxml2.dylib follow these steps
/usr/lib/libxml2.dylib
Upvotes: 0
Reputation: 1414
set your Link Frameworks Automatically to YES in Build Settings, then go to general tab and in click on + button in Link Frameworks and Libraries there search for libxml2.tbd and add
Upvotes: 3