File upload time out error


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
                               error:&error]) {
    [NSException raise:@"Open failed" format:@"Reason %@", [error localizedDescription]];

Any hints would be appreciated.


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