1. My project is using ARC
2. Download the source code of ASIHttpRequest (no arc based), then import into my project
3. Due to the ASIHttpRequest is not ARC based, set the -fno-object-arc for all the ASI***.m files.
4. in Build Phase, need to add libxml2.dylib
5. in the Build setting, add header file path: ${SDK_DIR}/usr/include/libxml2
Then can compile.