This seems to work in XCode 13.2.1
https://twitter.com/SufiyanYasa/status/1488787930722144256
Post
Replies
Boosts
Views
Activity
One possibility that i tried before is to extend the extension processing time by wrapping it with performExpiringActivity.
let processinfo = ProcessInfo()
processinfo.performExpiringActivity(withReason: "Allow CoreData to sync") { [weak self] (expired) in
if (!expired) {
self?.saveViewContext()
}
}
In my logs - I do see cloudkit+coredata successfully sync from a share extension