2015-10-14 20:45:04.876 WHNotepad[35501:1340094] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Users/HWH/Library/Developer/CoreSimulator/Devices/114C533A-FF06-4C31-8D05-FAD386A75138/data/Containers/Data/Application/2CF09A42-D74D-4440-9992-9C61123B3335/Library/Documentation/store.data options:(null) ... returned error Error Domain=NSCocoaErrorDomain Code=512 "The operation couldn’t be completed. (Cocoa error 512.)" UserInfo=0x7fd2b8481470 {reason=Failed to create file; code = 2} with userInfo dictionary {
reason = "Failed to create file; code = 2";
}
2015-10-14 20:45:04.879 WHNotepad[35501:1340094] *** Terminating app due to uncaught exception 'OpenFailure', reason: 'The operation couldn’t be completed. (Cocoa error 512.)'
http://www.2cto.com/kf/201412/364350.html