{"action":"closed","issue":{"url":"https://api.github.com/repos/mentrena/SyncKit/issues/86","repository_url":"https://api.github.com/repos/mentrena/SyncKit","labels_url":"https://api.github.com/repos/mentrena/SyncKit/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/mentrena/SyncKit/issues/86/comments","events_url":"https://api.github.com/repos/mentrena/SyncKit/issues/86/events","html_url":"https://github.com/mentrena/SyncKit/issues/86","id":481639575,"node_id":"MDU6SXNzdWU0ODE2Mzk1NzU=","number":86,"title":"Invalid keypath passed to setPropertiesToFetch:","user":{"login":"FrederickGeek8","id":774597,"node_id":"MDQ6VXNlcjc3NDU5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/774597?v=4","gravatar_id":"","url":"https://api.github.com/users/FrederickGeek8","html_url":"https://github.com/FrederickGeek8","followers_url":"https://api.github.com/users/FrederickGeek8/followers","following_url":"https://api.github.com/users/FrederickGeek8/following{/other_user}","gists_url":"https://api.github.com/users/FrederickGeek8/gists{/gist_id}","starred_url":"https://api.github.com/users/FrederickGeek8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrederickGeek8/subscriptions","organizations_url":"https://api.github.com/users/FrederickGeek8/orgs","repos_url":"https://api.github.com/users/FrederickGeek8/repos","events_url":"https://api.github.com/users/FrederickGeek8/events{/privacy}","received_events_url":"https://api.github.com/users/FrederickGeek8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-08-16T14:34:53Z","updated_at":"2019-08-16T16:05:05Z","closed_at":"2019-08-16T16:05:05Z","author_association":"NONE","body":"Hello! I am a bit new to Core Data usage, so I'm not sure if this is necessarily something wrong with the library or with my implementation, however, the issue goes away if I bypass the SyncKit code. The error in question is `Invalid keypath Bookmarks passed to setPropertiesToFetch:`. For context, my Entity & CloudKit record type is called `Bookmarks`. The error breaks on the `privateSynchronizer` line, specifically on line 173 of `CoreDataAdapter.swift` from SyncKit\r\n\r\nMy SyncKit code:\r\n```swift\r\nif FileManager.default.ubiquityIdentityToken == nil {\r\n    synchronizer = nil\r\n    return\r\n}\r\n\r\n\r\nlet appDelegate = UIApplication.shared.delegate as! AppDelegate\r\nsynchronizer = CloudKitSynchronizer.privateSynchronizer(containerName: \"iCloud.net.nerd.Read-arXiv\", managedObjectContext: appDelegate.persistentContainer.viewContext)\r\n\r\nif let zoneID = synchronizer?.modelAdapters.first?.recordZoneID {\r\n    synchronizer?.subscribeForChanges(in: zoneID) { (error) in\r\n        if error != nil {\r\n            print(\"Error: \\(error!)\")\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nI don't think it's relevant but here is my [CoreDataClass](https://github.com/FrederickGeek8/Read-arXiv/blob/master/Read%20arXiv/Bookmarks%2BCoreDataClass.swift) and [CoreDataProperties](https://github.com/FrederickGeek8/Read-arXiv/blob/master/Read%20arXiv/Bookmarks%2BCoreDataProperties.swift). Other code in my project can be found on that repo."}}
{"actor":{"display_login":"FrederickGeek8"}}