I'm attempting to use XML (Chapter 10 in Professional iPhone and iPad Database Application Programming), and I've run into a bit of trouble.
Under Header Search Paths in Build Settings I have this path:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/include/libxml2/
That's all fine and well, but then:
#import <libxml/parser.h> #import <libxml/tree.h> error: libxml/parser.h: No such file or directory If I flip the imports:
#import <libxml/tree.h> #import <libxml/parser.h> error: libxml/tree.h: No such file or directory Weird.
For now I have this:
#import <libxml/catalog.h> // Dirty hack #import <libxml/parser.h> #import <libxml/tree.h> error: libxml/catalog.h: No such file or directory But that's no good for a production app.