Issue resolved:
using the @Relationship macro on both sides instead of one is the issue. After I removed one @Relationship macro from one side, app compiles neatly.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: