ASIHTTPRequest compile/link issue

835 Views Asked by At

When I was trying to add ASIHTTPRequest for an iPhone project, I ran into many compiling/Linking problems even after following the instructions allseeing-i.

So after comparing my new project with the working project from the allseing-i I found out that the tutorial have missed a few things:

  1. Not all the frameworks that the project needs are mentioned to be included. My project was missing libxml2.2.7.3.dylib actually.
  2. Then there is another configuration in the "Target Settings" search for "Header Search Paths" and add the path: ${SDK_DIR}/usr/include/libxml2 , make sure you actually select the checkbox. this will direct the compiler to the libxml2 files which you will be getting errors from.

This should be enough to actually get the project up and running! :)

0

There are 0 best solutions below