Hi, I'm having a hard time making Core Data recognize my Custom Class from a swift package. The swift package is contained in the same project.
I've set the Module field under Custom Class to the name of my Package Module
But when I try to encode/decode I get this message
cannot decode object of class (MyApp.AccountHolder) for key (root) because no class named "MyApp.AccountHolder" was found
It should be CoreModels.AccountHolder.
I tried classes I tried different Codegen options. I even tried writing the ManagedObject class manually and moving it to the SwiftPackage and I still get the same message.
Is there any other place I should be editing to stop Core Data from looking at my app bundle and use my package bundle?