But later on, the transponder relationship have been set to nil, and
I don't know why. There is probably something missing in my core
data code.
Or, something that should not be in your code that is in your code
Do anyone know what I am missing?
Certainly I cannot tell from the information you provided. Possibly
you did not save the managed object context? Another possibility is
that it got cascade-deleted: