File upload time out error


#1

After applying all the changes in the chapter, when running the app, I get this error (after a long wait for the app to finish launching):

Safe save failed for file, error: Error Domain=NSCocoaErrorDomain Code=512 “The file upload timed out.” UserInfo=0x2083ad80 {NSLocalizedDescription=The file upload timed out.}

The app blocks on this method call:

if (![psc addPersistentStoreWithType:NSSQLiteStoreType
                       configuration:nil
                                 URL:dbURL
                             options:options
                               error:&error]) {
    [NSException raise:@"Open failed" format:@"Reason %@", [error localizedDescription]];
}

Any hints would be appreciated.


#2

PS: If, in the method call, I change the options: parameter to nil, the app launches just fine.