Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. import Cocoa
  2. import EventKit
  3.  
  4. class ViewController: NSViewController {
  5.  
  6. var eventControl = EKEventStore()
  7. override func viewDidLoad() {
  8. super.viewDidLoad()
  9.  
  10. // Do any additional setup after loading the view.
  11. }
  12.  
  13. override var representedObject: Any? {
  14. didSet {
  15. // Update the view, if already loaded.
  16. }
  17. }
  18. }
  19.  
  20. 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}
  21. 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:{
  22. NSInferMappingModelAutomaticallyOption = 1;
  23. NSMigratePersistentStoresAutomaticallyOption = 1;
  24. agentOrDaemon = 1;
  25. serviceName = "com.apple.CalendarAgent.database";
  26. } ... returned error Error Domain=NSCocoaErrorDomain Code=134070 "An error occurred in the persistent store." UserInfo={Problem=request failed, insufficient permission} with userInfo dictionary {
  27. Problem = "request failed, insufficient permission";
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement