I have the same error and In my app I think it only occurs if I use a list on an empty array in SwiftData.
I have tried to display the list of items in different views and it always lists the file where I am attempting to loop through the data
Im using the Xcode 16 RC
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: