Solving CoreData error: NULL _cd_rawData but the object is not being turned into a fault

后端 未结 3 1698
粉色の甜心
粉色の甜心 2021-02-07 23:12

Sometimes while using Core-Data object the app crashes with the error:

CoreData: error: NULL _cd_rawData but the object is not being turned into a fault

3条回答
  •  渐次进展
    2021-02-07 23:33

    Facing same issue but solved by setting this in Fetchrequest

    [fetchrequest setReturnsObjectsAsFaults:NO];
    

提交回复
热议问题