background-processing - Manage and debug iOS background task execution
Implements, debugs, and tests iOS background tasks with correct registration, scheduling, expiration handling, and Swift 6 cancellation patterns.
Tags
Updated: 2026-11-17Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Register background task handlers
- Configure task scheduling
- Debug tasks that never run
- Handle task expiration
- Choose appropriate task types
- Test background execution
- Bridge expiration to cancellation
Inputs
- Task identifiers
- Info.plist settings
- Background work requirements
- Console logs
- Target iOS version
- Task execution constraints
Outputs
- Scheduled background task requests
- Task completion statuses
- Diagnostic findings
- Background execution test results
Requirements
- iOS 13 or later
- iOS 26 or later for BGContinuedProcessingTask
- Xcode 15 or later
- Configured permitted task identifiers
- Configured background modes
