I am getting error in core data x code8.3, Data base is added DB.
Error is.....
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'An NSManagedObject of class 'NSManagedObject' must have a valid NSEntityDescription
App Name : GPSLocation
Database Name : GPSLocationDataBase
(Data base created middle of the project)
Entity Name : GPSLocationEntity
Are you created the NSPersistentContainer with the
GPSLocationDataBase
name? Like? A persistentContainer with different name can cause this issue.
In Obj-C: