CoreData error: +entityForName: could not locate an NSManagedObjectModel for entity name

后端 未结 6 648
失恋的感觉
失恋的感觉 2021-01-02 09:06

I\'ve been struggling with CoreData for a few days, but I keep getting this error:

\'NSInternalInconsistencyException\', reason: \'+enti

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-02 09:25

    Ensure that coredata.managedObjectContext is not nil.

提交回复
热议问题