Hi,
Not sure how to describe my issue best: I am using SwiftData and CloudKit to store my data.
In the past, when I tested my app on different devices, the data would sync between the devices automatically. For whatever reason this has stopped now and the data no longer syncs. No matter what I do, it feels as if all the data is actually stored just locally on each device.
How can I check if the data is actually stored in the cloud and what could be reasons, why its no longer synching between my devices (and yes, I am logged in with the same Apple ID on all devices).
Thanks for any hint!
Max
I believe I found the root cause: I had 2 entitlements files, one called
ExpensesTest.entitlements
and the other
ExpensesTestRelease.entitlements
The latter had the information about the CloudKit container in it while the other was missing those entries. After creating a new container and adding those values manually to
ExpensesTest.entitlements
it nows works like a charm again.