I have an app that from day 1 has used Swiftdata and successfully sync'd across devices with Cloudkit. I have added models to the data in the past and deployed the schema and it continued to sync across devices. Sometime I think in June.2025 I added a new model and built out the UI to display and manage it. I pushed a version to Test Flight (twice over a matter of 2 versions and a couple of weeks) and created objects in the new model in Test Flight versions of the app which should push the info to Cloudkit to update the schema.
When I go to deploy the schema though there are no changes. I confirmed in the app that Cloudkit is selected and it's point to the correct container. And when I look in Cloudkit the new model isn't listed as an indes.
I've pushed deploy schema changes anyway (more than once) and now the app isn't sync-ing across devices at all (even the pre-existing models aren't sync-ing across devices).
I even submitted the first updated version to the app store and it was approved and released. I created objects in the new model in production which I know doesn't create the indexes in the development environment. But this new model functions literally everywhere except Cloudkit and I don't know what else to do to trigger an update.
You mentioned that "the new model isn't listed as an indes". Does that mean your new model type does not show up as part of the CloudKit schema (and hence CloudKit Console sees "no changes" between your development and production schemas )? If yes, that will be the culprit – The framework will stop synchronizing data when detecting that the CloudKit schema doesn't match your SwiftData models.
When changing your SwiftData model types, be sure that the change is pushed to the CloudKit development environment, which is eventually promoted to the production environment. How to push your change to the CloudKit development environment is described in Initialize the CloudKit development schema. The details in Create the CloudKit schema may help as well.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.