#import <libxml/tree.h> file not found after xcode update #import <libxml/tree.h> file not found after xcode update ios ios

#import <libxml/tree.h> file not found after xcode update


In your build settings, add the following to your Header Search Paths:

$SDKROOT/usr/include/libxml2


For me what worked was adding this to header search path:

$(SDKROOT)/usr/include/libxml2

Slightly difference from other answer, probably to do with newer version of Xcode.


add: $SDKROOT/usr/include/libxml2

enter image description here