Post

Replies

Boosts

Views

Activity

Reply to Push to CloudKit from Share Extension
I shared some thoughts on this a month ago in another answer. In summary: Saving to Core Data itself is reliable from an extension The extension likely is killed before the sync to CloudKit is scheduled/complete. This is why you see the behavior of needing to launch your app for syncing to occur. There is no workaround at this point, as the syncing is done in their internal API, but I'm hoping my conversation with the Apple engineer was enough for them to consider improvements this year.
May ’21
Reply to Push to CloudKit from Share Extension
I shared some thoughts on this a month ago in another answer. In summary: Saving to Core Data itself is reliable from an extension The extension likely is killed before the sync to CloudKit is scheduled/complete. This is why you see the behavior of needing to launch your app for syncing to occur. There is no workaround at this point, as the syncing is done in their internal API, but I'm hoping my conversation with the Apple engineer was enough for them to consider improvements this year.
Replies
Boosts
Views
Activity
May ’21
Reply to error: the replacement path doesn't exist:
I'm seeing this error and I'm not even using SwiftData in this app. It's occurring when I update an array property on an Observed model class. Like other comments, this only started with Xcode 16.
Replies
Boosts
Views
Activity
Sep ’24