2015-10-14 19:48:48.410 WHNotepad[35161:1321841] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Users/HWH/Library/Developer/CoreSimulator/Devices/114C533A-FF06-4C31-8D05-FAD386A75138/data/Containers/Data/Application/D7011B7A-1211-4F5E-BA06-1240C1712966/Library/Documentation/store.data options:(null) ... returned error Error Domain=NSCocoaErrorDomain Code=512 "The operation couldn’t be completed. (Cocoa error 512.)" UserInfo=0x7fa6fbe794a0 {reason=Failed to create file; code = 2} with userInfo dictionary {
reason = "Failed to create file; code = 2";
}
2015-10-14 19:48:48.432 WHNotepad[35161:1321841] *** Terminating app due to uncaught exception 'OpenFailure', reason: 'The operation couldn’t be completed. (Cocoa error 512.)'