Couchbase Lite 2.0 - DB creation error

I’m getting error when creating a DB in CBL 2.0. In the if statement it always returns false.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    NSError *error;
    NSString *dbName = @"db";
    
    _database = [[CBLDatabase alloc] initWithName:dbName error:&error];
    if (! _database) {
        NSLog(@"Cannot open the database: %@", error);
        return NO;
    }

}

What is the error that’s returned?

2017-03-06 18:06:54.513 cb-2.0-dp1[74243:5428445] Cannot open the database: (null)

Since there are no docs on the 2.0 I’m using this https://github.com/couchbaselabs/mobile-training-todo/tree/feature/2.0/objc/Todo as an example.

Since there are no docs on the 2.0

Couchbase Capella for Mobile Developers There is this if it helps

That’s weird. I looked at the source, and don’t see any code path that could cause -initWithName:error: to return nil without storing a legitimate error in error. File an issue on Github, please.