Oops, I am targeting iOS 16.2 with destinations of iPad and Mac (Designed for iPad)
Post
Replies
Boosts
Views
Activity
Sorry, targeting iOS 16.2, with destinations of iPad and Mac (Designed for iPad).
This conversation in the Kingfisher async image library captures the ongoing issue(s) for many of us, including additional workarounds. There was a Feedback case filed (FB11564208), but those aren't public so I'm not sure how to report status.
I'm also struggling to get this working; same error messages. ShareLink seems quite finicky to get right so far! Will report back if I'm able to work around.
I'm also seeing this issue, doing the same thing with the same error messages. Will post back if I'm able to make progress!
After spending three hours on this yesterday, I would absolutely be interested in a write-up or some pseudocode 😀
I commented in another thread about this in terms of hoping others can shortcut their search!
If you're using the SQLite persistent store, then that code won't work at all. The limitation is caused by CoreData pushing the processing of the request to the database engine but the database engine can't see the "software implemented" properties.
This took me several hours of searching to find, thank you for the explanation! For reference, I was attempting to create a SortDescriptor based on a computed property on a CoreData entity.
Here are a few breadcrumbs for the next person:
Core Data: Fatal Error sorting using a computed property
Creating a SortDescriptor in Swift from a computed property on a CoreData entity
Error message - keypath not found in entity with userinfo of (null)
Must be introspectable by the objective-c runtime
Also seeing broken previews on X14 release with SPM + AppSpector. Removing the package entirely of course fixes it. No issue on X13.