Don't mind me, just necro'ing an old thread.
I'm running into this issue as well, and followed the same advice of "omit the @Relationship macro from the child item" and (of course) it resolves the compiler errors, but is this manual setting of the parent relationship intended? It's clearly not the best developer experience.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: