Hi,
I did cloudkit synchronization using swiftdata. However, synchronization does not occur automatically, and synchronization occurs intermittently only when the device is closed and opened.
For confirmation, after changing the data in Device 1 (saving), when the data is fetched from Device 2, there is no change.
I've heard that there's still an issue with swiftdata sync and Apple is currently troubleshooting it, is the phenomenon I'm experiencing in the current version normal?
If you can see the data on Device 2 after closing and re-opening the app then you might be experiencing a known issue where SwiftData doesn't merge / update a model context used in SwiftUI if there is new background data (known since before 18.0 but apparently still an unaddressed issue in 18.1RC).