Advertisement
Guest User

Untitled

a guest
Dec 29th, 2012
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement