I have a SwiftUI/SpriteKit project in which I'm receiving the following error:
Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 88 named com.apple.commcenter.coretelephony.xpc was invalidated from this process."
The error seems to be related to the integration of the advertisement framework I'm using (InMobi). It only occurs if this framework is present. It occurs on both simulator and real device.
According to the InMobi documentation:
InMobi SDK uses iOS WKWebView to render HTML ads.
What I've tried:
- I added the
CoreTelephony.framework
to my project.
I've seen other questions on this topic (it seems related to WKWebView
), but the "answers" usually suggest suppressing the logs so you don't see the error anymore (lol).
Question: What's causing this error, and how do I fix it?
Thank you!