Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Cocoa
- import EventKit
- class ViewController: NSViewController {
- var eventControl = EKEventStore()
- override func viewDidLoad() {
- super.viewDidLoad()
- // Do any additional setup after loading the view.
- }
- override var representedObject: Any? {
- didSet {
- // Update the view, if already loaded.
- }
- }
- }
- 2016-10-28 15:02:00.056521 calendarTest[4105:847101] CoreData: XPC: Unable to load metadata: Error Domain=NSCocoaErrorDomain Code=134070 "An error occurred in the persistent store." UserInfo={Problem=request failed, insufficient permission}
- 2016-10-28 15:02:00.057742 calendarTest[4105:847101] [error] error: -addPersistentStoreWithType:NSXPCStore configuration:(null) URL:file:///Users/patrickramsden/Library/Calendars/Calendar%20Cache options:{
- NSInferMappingModelAutomaticallyOption = 1;
- NSMigratePersistentStoresAutomaticallyOption = 1;
- agentOrDaemon = 1;
- serviceName = "com.apple.CalendarAgent.database";
- } ... returned error Error Domain=NSCocoaErrorDomain Code=134070 "An error occurred in the persistent store." UserInfo={Problem=request failed, insufficient permission} with userInfo dictionary {
- Problem = "request failed, insufficient permission";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement