Turns out I was missing $(SDKROOT)/usr/include/libxml2 from my Header
Search Paths in my Project Settings, I also had to link against
libxml2.2.7.3.dylib.
This means that the headers can now be found without any problems, but
now I'm left with 9 errors and 2 warnings during linking. Is there
some other library that I'm missing which needs to be linked?
ld: warning: directory '/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator4.1.sdk/usr/lib/gcc/arm-apple-
darwin10/4.0.1' following -L not found
ld: warning: directory '/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator4.1.sdk/usr/lib/gcc/arm-apple-
darwin10/4.2.1' following -L not found
Undefined symbols:
"_OBJC_IVAR_$_ASIHTTPRequest.uploadProgressDelegate", referenced
from:
_OBJC_IVAR_$_ASIHTTPRequest.uploadProgressDelegate$non_lazy_ptr
in ASIWebPageRequest.o
(maybe you meant: _OBJC_IVAR_
$_ASIHTTPRequest.uploadProgressDelegate$non_lazy_ptr)
"_OBJC_IVAR_$_ASIHTTPRequest.downloadProgressDelegate", referenced
from:
_OBJC_IVAR_$_ASIHTTPRequest.downloadProgressDelegate
$non_lazy_ptr in ASIWebPageRequest.o
(maybe you meant: _OBJC_IVAR_
$_ASIHTTPRequest.downloadProgressDelegate$non_lazy_ptr)
"_OBJC_CLASS_$_ASIHTTPRequest", referenced from:
_OBJC_CLASS_$_ASIWebPageRequest in ASIWebPageRequest.o
objc-class-ref-to-ASIHTTPRequest in ASIWebPageRequest.o
"_NetworkRequestErrorDomain", referenced from:
_NetworkRequestErrorDomain$non_lazy_ptr in ASIWebPageRequest.o
(maybe you meant: _NetworkRequestErrorDomain$non_lazy_ptr)
"_OBJC_CLASS_$_ASINetworkQueue", referenced from:
objc-class-ref-to-ASINetworkQueue in ASIWebPageRequest.o
"_OBJC_IVAR_$_ASIHTTPRequest.complete", referenced from:
_OBJC_IVAR_$_ASIHTTPRequest.complete$non_lazy_ptr in
ASIWebPageRequest.o
(maybe you meant: _OBJC_IVAR_$_ASIHTTPRequest.complete
$non_lazy_ptr)
"_OBJC_METACLASS_$_ASIHTTPRequest", referenced from:
_OBJC_METACLASS_$_ASIWebPageRequest in ASIWebPageRequest.o
"_OBJC_IVAR_$_ASIHTTPRequest.delegate", referenced from:
_OBJC_IVAR_$_ASIHTTPRequest.delegate$non_lazy_ptr in
ASIWebPageRequest.o
(maybe you meant: _OBJC_IVAR_$_ASIHTTPRequest.delegate
$non_lazy_ptr)
"_OBJC_IVAR_$_ASIHTTPRequest.contentLength", referenced from:
_OBJC_IVAR_$_ASIHTTPRequest.contentLength$non_lazy_ptr in
ASIWebPageRequest.o
(maybe you meant: _OBJC_IVAR_$_ASIHTTPRequest.contentLength
$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status