I am trying to save a simple record in my core data entity. but, I keep getting reason=Can't find mapping model for migration
exception in the runtime.
These are y core data properties in the Note
entity.
@NSManaged public var noteID: String?
@NSManaged public var createdAt: Date?
@NSManaged public var updatedAt: Date?
@NSManaged public var noteDescription: String?
@NSManaged public var noteTitle: String?
@NSManaged public var location: String?
codegen is set to
Manual/None
I set all my attributes to their default values in xcdatamodelid
file. I tried deleting data models and recreated them. Still no luck.