SwiftData with CloudKit Error: Error updating background task request

Hi,

Overview

  • I have a SwiftData project which automatically syncs with CloudKit.
  • When I run the app, I see the following error in Xcode logs.
Error updating background task request: Error Domain=BGSystemTaskSchedulerErrorDomain Code=3 "(null)"

My attempt

I can enable Background processing (under Signing & Capabilities > Background modes), but I don't know the BGTaskSchedulerPermittedIdentifiers to add in the Info.plist

Questions

  1. How can I resolve this?
  2. If I should enable background processing, what are the BGTaskSchedulerPermittedIdentifiers to add in Info.plist?
SwiftData with CloudKit Error: Error updating background task request
 
 
Q