Learn about common errors and solutions for OSS SDK for iOS.
What do I do if the HTTP status code 4099 is reported when I call the API operations of OSS SDK for iOS?
Description
[Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 91 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service with pid 91 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}
Cause
The iOS system development simulator configuration is invalid.
Solutions
Disable the log service feature to stop receiving messages and configure the com.apple.CoreTelephony subsystem at the system level by using one of the following methods:
-
Method 1
xcrun simctl spawn booted log config --mode "level:off" --subsystem com.apple.CoreTelephony -
Method 2
sudo log config --mode "level:off" --subsystem com.apple.CoreTelephony