I face the same issue in modifying my initial model and trying to insert data with additional values. I believe SwiftData requires a migration of schema after this but a simple solution for me was to delete the app and let XCode recreate it on both simulator and iPhone.