Post

Replies

Boosts

Views

Activity

Reply to App getting killed by iOS while NSPersistentCloudKitContainer syncs
I'm facing a the same problem. In my case I'm collecting data in background mode. If internet connection gets lost, large amount of data might be sync when the device gets back on the internet. If data collection is still active, the background mode seems to keep NSPersistentCloudKitContainer alive resulting in the iCloud sync not being terminated and the app getting killed due to high CPU pressure. What framework are you using? I'm using SwiftUI. I'm also still looking for a solution.
Aug ’21
Reply to SwiftUI Table View is Crashing
Unfortunately still having this issue in iOS 14.5. Appears to be some kind of race condition. Applying .id(UUID()) onto List{} solves the issue by forcing a new @FetchRequest, but also resets the view in case of any ObservedObject changes (... so not really practical solution).
May ’21