从Xcode 10.2.1禁用操作系统日志

时间:2019-06-27 13:45:06

标签: xcode xcode10.2

我不断看到很多操作系统日志,例如下面的

[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.}

我尝试添加OS_ACTIVITY_MODE env变量,但这会完全删除所有日志记录

OS_ACTIVITY_MODE = null

OS_ACTIVITY_MODE = disable 

是否存在适用于Xcode 10.2的选项?

0 个答案:

没有答案