If you Changed the name of your .xcdatamodel file ensure that the same name you changed it to is used when making your container in AppDelegate.swift as below
let container = NSPersistentCloudKitContainer(name: "Same Name ")
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: