This, and deleting any @Attribute(.unique) did it for me (AFAIK, iCloud doesn't support Unique constraints).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: