Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 29th, 2012  |  syntax: None  |  size: 0.63 KB  |  views: 162  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data