美文网首页
The connection to service named

The connection to service named

作者: Sweet丶 | 来源:发表于2022-11-14 13:51 被阅读0次

今天整理项目中的打印信息,发现了一堆这样的打印信息:
[Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

[Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

模拟器中运行会打印这个,真机不会。可以使用stackoverflow上的改法来屏蔽这个打印:

// 命令行运行下面命令可以屏蔽
xcrun simctl spawn booted log config --mode "level:off"  --subsystem com.apple.CoreTelephony
// 如果还要打开,可以将上面的"level:off"进行修改‘off | default | info | debug’

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

相关文章

网友评论

      本文标题:The connection to service named

      本文链接:https://www.haomeiwen.com/subject/lgjlxdtx.html