Post

Replies

Boosts

Views

Activity

Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
Nobody any idea? I know the information is scarce, but if I knew more I would be much closer to the solution. What I know so far: Mac A: Master Mac B: S.er.va.nt Data on Mac A isn't synced to CloudKit while data from CloudKit is synced to Mac B and the other way round. When I completely delete the app on Mac A (including database file called xxx.sqlite), syncing starts again on Mac A, but all Data I added meantime on Mac A is gone. Restoring only database file (xxx.sqlite) on Mac A, syncing stopps again on Mac A. So in my opinion, there must be a flag inside the sqlite-file or there's a special character in database I accidentally used, so syncing won't start. It would be very nice, if somebody can help. And if I had one wish, dear fairy, it would be very nice if maybe a developer from Apple could comment on it. I know: nice try, but one can wish.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
IMO it has to do with local database. Editing directly in CloudKit, changes are synced to Mac Mini but not to MacBook. Editing on mini will change CloudKit, but not MacBook When completely deleting my app on MacBook und reinstalling, syncing starts and works fine. Restoring a backup just of database-Files (.sqlite), syncing stopps again. Is inside the database a flag, that prevents syncing? Structure of database should be the same.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
Nobody any idea? I know the information is scarce, but if I knew more I would be much closer to the solution. What I know so far: Mac A: Master Mac B: S.er.va.nt Data on Mac A isn't synced to CloudKit while data from CloudKit is synced to Mac B and the other way round. When I completely delete the app on Mac A (including database file called xxx.sqlite), syncing starts again on Mac A, but all Data I added meantime on Mac A is gone. Restoring only database file (xxx.sqlite) on Mac A, syncing stopps again on Mac A. So in my opinion, there must be a flag inside the sqlite-file or there's a special character in database I accidentally used, so syncing won't start. It would be very nice, if somebody can help. And if I had one wish, dear fairy, it would be very nice if maybe a developer from Apple could comment on it. I know: nice try, but one can wish.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
IMO it has to do with local database. Editing directly in CloudKit, changes are synced to Mac Mini but not to MacBook. Editing on mini will change CloudKit, but not MacBook When completely deleting my app on MacBook und reinstalling, syncing starts and works fine. Restoring a backup just of database-Files (.sqlite), syncing stopps again. Is inside the database a flag, that prevents syncing? Structure of database should be the same.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to CoreData & CloudKit - unexpected behavior and suddenly stop of syncing
I just found something else: Changes made on the Mac mini (employee) will be synced to CloudKit. In any case, data arrives in the CloudKit. Also changes directly made in CloudKit will arrive at my app on Mac mini. So syncing itself and my app are working. So there might be a problem on the MacBook Air, where syncing is stopped or delayed.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’23