Reply to Referencing instance method 'setValue(for:to:)' on 'Array' requires that 'Task' conform to 'PersistentModel' As far as I know (and it's not that far), you have to change your struct Task into a @Model class task. (But you'll probably have the same issue that I have, an "EXC_BREAKPOINT" crash when trying to accessing it…) App & System Services iCloud & Data Aug ’23