+entityForName: nil is not a legal NSManagedObjectContext parameter searching for entity name 'Account''

后端 未结 5 1609
日久生厌
日久生厌 2020-12-01 20:52

I have tried a lot of options, but can\'t find the solution for this problem. I created a Core Data file and named the entity Account, Created an string attribute called use

5条回答
  •  孤街浪徒
    2020-12-01 21:34

    It might happens because of mismatch of entity name and its class name. Ensure that your Account entity has an appropriate class name in .xcdatamodeld file.

提交回复
热议问题