Relative Content

Tag Archive for iosswiftswiftuiwatchosswiftdata

Syncing Issue Between iOS and WatchOS: SwiftData Not Updating on Watch

I decided to start practicing how to communicate data between iOS/iPad and WatchOS. It seems like it’s not syncing correctly because when I add or remove a person, my watch doesn’t update. I have two watches: one connected via Bluetooth and the other connected via cellular or Wi-Fi. When I create a new person on my iOS app, my WatchOS app doesn’t reflect any changes. I have four people in my iOS app, but the WatchOS app shows an empty database. I’ve tried researching everywhere online and even consulted AI, but I haven’t been able to solve the issue. What could I be doing wrong, or am I missing something?