I just installed Xcode version 4.3.1 and I get this error:
libxml / tree.h file not found
I have also installed Xcode 4.2, and
2 solutions:
$(SDKROOT)/usr/include/libxml2
xcode-select --install
XCode 4 should have the command line tools install option in preferences>downloads section.I'd personally go with the second one.