I just downloaded Xcode 4.5 and I cant seem to run my application as the MGTwitter... classes are complaining of a non inclusion error of LibXML2. I have imported it into the frameworks folder, and I have put the following in the header bit in the build settings
$(SDKROOT)/usr/include/libxml2
#include <libxml/xmlreader.h> file not found
My app compiles with no issues using Xcode 4.3, but when I try to compile using 4.5 I get this error
I tried this also: $(SDK_DIR)/usr/include/libxml2
Is this just a bug or am I missing something obvious?
Thanks
I solved this by adding
/usr/include/libxml2
in header search paths. Just it, without $(SDKROOT)
or $(SDK_DIR)
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With