使用模拟器时Xcode控制打印Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099

2019-07-12 04:20:00

使用模拟器时Xcode控制打印Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099

 [Client] Sending selectors failed with: 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.}

出现原因:

大多数情况都是你开启了全局代理(科学上网),而去访问局域网资源~

关闭打印:

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

解决方法:

请关闭你的全局代理(科学上网), 如果你在局域网的情况下!!!!
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »