Dear Apple Support Team,
My app, io.cylonix.sase, has a BGAppRefreshTask (io.cylonix.sase.ios.refresh) that is canceled by dasd ~9ms after submission from a Network Extension. Please help identify the cause and suggest a solution.
App Details:
App ID: io.cylonix.sase
iOS Version: 17.1.1 (iPhone Xs Max)
Network Extension: saseWgNetworkExtension with packet-tunnel-provider entitlement
Use Case: VPN app; Network Extension records file receipts in shared group UserDefaults and schedules BGAppRefreshTask to wake the main app.
App Usage: High (frequently used)
System State: Sufficient resources (not low on battery or memory)
Issue:
The task is submitted but canceled immediately with priority 10. It has never run, so rate-limiting is not an issue.
`
debug 22:09:37.952749-0700 dasd Best binding found for evaluator 0x16d541720: <private>
debug 22:09:37.954483-0700 dasd Invoking selector backgroundTaskSchedulerPermittedIdentifiersWithContext:tableID:unitID:unitBytes: on <LSApplicationRecord 0x724844650>
default 22:09:37.955563-0700 dasd CANCELED: bgRefresh-io.cylonix.sase.ios.refresh:ABDAFA at priority 10 <private>!
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags:
Background Tasks
Network Extension