1) When using mac with previous version than Lion.
2) And upgrade to Lion and Xcode should also upgrade.
And complie & error.
Like "expected declaration specifiers before '-' token xcode"
I also confused with this problem and here below is clear answer.
This error occur due to system default compiler change.
LLVM GCC to GCC.
So you should change complier option to LLVM GCC.

And all framework path should be changed.
#before
#import "/usr/lnclude/sqlite3.h" //should remove usr-include #import "/usr/include/objc/runtime.h" //should remove usr-include
#after
#import <sqlite3.h> //new style import #import <objc/runtime.h> //new style import
