So, I upgraded XCode to 4.6 some time back and now it stops compiling my project. I am using Matt Gemmell’s twitter engine and it uses xmlreader.h. I checked my header search paths, then I checked my linker settings and found that libxml2.dylib was missing, so I removed it added it back again. But still no luck!
This is what fixed it for me finally.
- in XCODE go to Project–>Target–>Build Settings
- In the search box, type “header search paths”
- Either add or update libxml settings to $(SDKROOT)/usr/include/libxml2.
That should fix it!
沒有留言:
張貼留言