Core-Data iPhone: could not locate an NSManagedObjectModel

后端 未结 4 1468
执念已碎
执念已碎 2020-11-29 23:53

I am using Apple\'s CoreDataBooks sample project as a learning aid for core data.

I modified the app so that when the app loads I show a menu page first - not the B

4条回答
  •  眼角桃花
    2020-11-30 00:35

    Did you change the Core Data model at all? That error is common when the Core Data model for an app changes without also changing the underlying SQLite database, so the stored data and the model are out of sync.

    Try completely removing your app from the Simulator or testing device, then reinstalling it and trying again.

提交回复
热议问题