LibXML2.dylib and Xcode4

max_ picture max_ · Feb 5, 2011 · Viewed 19.6k times · Source

I just downloaded Xcode 4 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

But I am still getting 65 errors.

Any ideas how to fix this?

Answer

Julio Gorgé picture Julio Gorgé · Feb 5, 2011

Try this:

"$(SDK_DIR)"/usr/include/libxml2