Hi Everyone,
I've been struggling with this for quite a while now but I can't seem to figure this one out. I've searched online on SO, here, and the apple forums, but I can't seem to get past this.
As I've mentioned I'm using CoreData for my back end, with SwiftUI. The core data file has four Entities, with several attributes in each one. They all have property types. Each Entity has also been set to CodeGen: Manual/none.
I can build the project successfully, but whenever I go to run a canvas preview, or build the project it crashes and I get the following errors in a diagnostic report: https://github.com/tylerlw82/errorResponses/blob/main/previewCrash
When I got to run the project I get the following error as an output: https://github.com/tylerlw82/errorResponses/blob/main/outputError
I've been using this as a completed project to reference from. As far as I can tell my project identically mirrors this one, outside of having my own structs and properties etc. https://blckbirds.com/post/core-data-and-swiftui/
I've thought that it might need me to add a preview of placeholder data, but when I do a similar test from the completed project in the tutorial, it seems to be fine and not crash.
I've been at this long enough to know that I'm out of options and really need help. Any advice, feedback or clarification of where I need to go here is greatly appreciated.
Thank you all!