@DTS Engineer is on the right path.
I had the same error and had to add default values or unwrapped_optionals! to each property. Not sure what the best practice is but have seen both in examples.
I also had to remove by unique attribute. :(
Post
Replies
Boosts
Views
Activity
@DTS Engineer , does swift data support this now after the latest release of IOS?