I am trying to maintain an application that uses NSCoreData. It has a somewhat complex database, and when I delete an object occasionally it will fail with the following error log:
https://gist.github.com/emilevictor/1faf3c7be7b2ec1876db
I have done a search of stackoverflow and found the following post which seems similar, but did not have any solutions that might apply to me: Core Data Relationships cause save error after delete
I have confirmed that all of the relationships cascade down, and are matched with a "nullify" on the child object's relationship. Every relationship is also optional.
An example of one of the relationships: