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

Failed to create synchronous remote object proxy: 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.}

最近接手的项目,log报错,但是不影响运行。得空了,解决一下这个问题。

解决方案:

终端运行

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

原文链接

你可能感兴趣的:(The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.)