Class not found, using default NSManagedObject instead

前端 未结 6 785
既然无缘
既然无缘 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:56

    If you are using Xcode 7 beta the actual solution is removing the @objc(Person). Must be a bug in the template that is used for generating entity classes in Xcode 7 beta.

提交回复
热议问题