I reproduced your setup both with your data model and one of my own with different names. I got the same error in both cases.
Looks like a bug in Apple’s autogenerated code.
I reproduced your setup both with your data model and one of my own with different names. I got the same error in both cases.
Looks like a bug in Apple’s autogenerated code.