1. The download link for FMDB is broken.
  Use the command below in order to download FMDB source
  -> svn checkout http://flycode.googlecode.com/svn/trunk/fmdb flycode-read-only
  Drag the “src” folder and drop into Classes on Xcode.
  Rename “src” folder to “FMDB” and remove fmdb.m for avoiding a duplicate error.

2. In order to add SQLite library to your project,
  Right-click on Frameworks, and select Add -> Existing Frameworks.
  Select “libsqlite3.dylib”, and click “Add.”

3. The path for base.sqlite is incorrect.
  -> Replace these lines
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@”base.sqlite”];
    NSString *path = [[NSBundle mainBundle] pathForResource:@”base” ofType:@”sqlite”];