[Client] Synchronous remote object proxy 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.}
升级Xcode后用模拟器调试始终有上述错误, 在stackoverflow找到解决方法,
解决办法:
在终端运行下面这行:
xcrun simctl spawn booted log config --mode "level:off" --subsystem com.apple.CoreTelephony
原文链接:https://stackoverflow.com/questions/52455652/xcode-10-seems-to-break-com-apple-commcenter-coretelephony-xpc