add HAVE_USLEEP=1 to fmdb/SQLCipher
for the warning in line 237 of FMDatabase.m:
int requestedSleepInMillseconds = arc4random_uniform(50) + 50;
int actualSleepInMilliseconds =
sqlite3_sleep(requestedSleepInMillseconds);
if (actualSleepInMilliseconds != requestedSleepInMillseconds) {
NSLog(@"WARNING: Requested sleep of %i milliseconds, but
SQLite returned %i. Maybe SQLite wasn't built with HAVE_USLEEP=1?",
requestedSleepInMillseconds, actualSleepInMilliseconds);
}
return 1;