Context does not save the changes with error 1550

前端 未结 3 1877
别那么骄傲
别那么骄傲 2021-01-21 02:36

I\'m trying to update an entity and save the changes. I\'m getting always the following error:

The operation couldn’t be completed. (Cocoa error 1550.)
         


        
3条回答
  •  北海茫月
    2021-01-21 03:32

    Cocoa error 1550 means you are having a "dangling" pointer, more specifically a reference to a relationship that points to nowhere... I would assume you might be getting a nil back from one of the existinObjectWithID methods?

提交回复
热议问题