I am trying to create a phone app that can receive incoming call notifications using CallKit, as described in Apple's CallKit documentation.
Added the com.apple.developer.calling-app entitlement in my .entitlements file. Implemented CXProvider and set up the delegate methods (provider:perform: and providerDidReset). Added UIBackgroundModes with voip in Info.plist. Configured CXProviderConfiguration to support phone numbers.
I expected to receive incoming call notifications when my app was set as the default calling app. However, I am not receiving any notifications when an incoming call arrives.
How can I properly detect and handle incoming calls in my default calling app? Is there any additional configuration required for iOS 18.2+?