SHARE
TWEET

Untitled

a guest Dec 29th, 2012 275 Never
  1. Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed.
  2. (Cocoa error 256.)" UserInfo=0x1f5cd8b0
  3. {NSUnderlyingException=authorization denied, NSSQLiteErrorDomain=23}
  4.        
  5. NSDictionary *persistentStoreOptions = [NSDictionary
  6.    dictionaryWithObjectsAndKeys:
  7.       NSFileProtectionNone, NSPersistentStoreFileProtectionKey, nil];
  8. NSError *error;
  9. if (![_persistentStoreCoordinator
  10.       addPersistentStoreWithType:NSSQLiteStoreType
  11.                    configuration:nil
  12.                              URL:storeURL
  13.                          options:persistentStoreOptions
  14.                            error:&error]) {
  15. ...
  16. }
RAW Paste Data
Top