Solutions to some weird problem

Provide here solutions to some difficult problems:

Q: <libxml/HTMLParser.h> file not found

A: Add “$SDK_DIR/usr/include/libxml2″ to “header search path" (not “library search path")

Q: ARC get error

A: You may skip ARC for those file not suitable to use ARC. Steps:

1. Go to Target0>Build Phases

2. Open “Compile Sources"

3. Select ALL files you want.

4. Press ENTER (don’t do mouse dbl-click)

5. Enter “-fno-objc-arc"

發表留言