Class not found, using default NSManagedObject instead

前端 未结 6 766
既然无缘
既然无缘 2021-01-04 04:59

I have a problem with core data in IOS 8. Whenever I want to use the insertNewObjectForEntityForName method, I get the

Class not found,

6条回答
  •  [愿得一人]
    2021-01-04 05:34

    When none of the solutions worked for me, I deleted the existing NSManagedObject and created a new one. If you need any code from the previous object remember to take a backup, and later copy that into the new NSManagedObject class. Hope this helps someone.

提交回复
热议问题