question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated

See original GitHub issue

run app on simulator with ‘iPhone X’ from xcode, in debug area, show this error info.

Detail Info

[NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099
 “The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.” 
UserInfo={NSDebugDescription=The connection to service named 
com.apple.commcenter.coretelephony.xpc was invalidated.}

Summary

react-native info

  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
      Memory: 88.89 MB / 16.00 GB
      Shell: 5.6.2 - /usr/local/bin/zsh
    Binaries:
      Node: 10.15.0 - ~/./node/v10.15.0/bin/node
      Yarn: 1.13.0 - ~/./node/v10.15.0/bin/yarn
      npm: 6.5.0 - ~/.node/v10.15.0/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        Build Tools: 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.3, 24.0.3, 25.0.0, 25.0.3, 26.0.2, 26.0.3, 27.0.3, 28.0.3
        API Levels: 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28
    IDEs:
      Android Studio: 3.2 AI-181.5540.7.32.5056338
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.7.0 => 16.7.0
      react-native: 0.57.8 => 0.57.8
    npmGlobalPackages:
      react-native-cli: 2.0.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hemantasapkotacommented, Mar 22, 2019

Thought I should take a stab at this. Running this fixes the issue:

xcrun simctl spawn booted log config --mode "level:off"  --subsystem com.apple.CoreTelephony

Source: https://stackoverflow.com/questions/52455652/xcode-10-seems-to-break-com-apple-commcenter-coretelephony-xpc

It simply disables logging for the CoreTelephony framework.

Not sure if this needs a PR.

0reactions
mikehardycommented, Mar 22, 2019

I’d go for this one I think - seems focused?

xcrun simctl spawn booted log config --mode “level:off” --subsystem com.apple.CoreTelephony

Source: [stackoverflow.com/questions/52455652/xcode-10-seems-to-break-com-apple-commcenter-coretelephony-xpc](https://stackoverflow.com/questions/52455652/xcode-10-seems-to-break-com-apple-commcenter-coretelephony-xpc)

It simply disables logging for the CoreTelephony framework.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CoreTelephony SubscriberInfo retur… - Apple Developer
UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.} The code that generates this error is ...
Read more >
Swift. The connection to service named com.apple ... - GitHub
commcenter.coretelephony.xpc was invalidated.} Failed to create remote object proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection ...
Read more >
The connection to service named com.apple.commcenter ...
apple.commcenter.coretelephony.xpc was invalidated.” UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.
Read more >
iOS 15 simulator: "The connection to service named com ...
"The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." Detailed:
Read more >
iOS : The connection to service named com.apple ... - YouTube
iOS : The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated [ Beautify Your Computer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found