Xcode 8控制台垃圾? [英] Xcode 8 Console Garbage?
问题描述
有没有其他人在Xcode 8控制台上出现问题,显示一堆随机的东西?我不希望所有这些混乱我的调试消息和日志。有人知道如何关闭它吗?
编辑:发行说明指出控制台可能会为watchOS转储无用的东西,但不会为iOS转储。
示例:
你可以使用环境变量禁用该输出。
在Product >> Scheme >> Edit Scheme ... >> Run中添加以下环境变量:Name: OS_ACTIVITY_MODE
,价值:禁用
最初在Twitter上描述
Has anybody else had issues with the Xcode 8 console showing a bunch of random stuff? I don't want to have all of this cluttering my debug messages and logs. Does anybody know how to turn this off?
EDIT: The release notes specify that the console might dump unhelpful stuff for watchOS, but not for iOS.
Example:
You can disable that output with a environment variable.
In Product>>Scheme>>Edit Scheme...>>Run add the following environment variable: Name:OS_ACTIVITY_MODE
, Value: disable
Originally described on Twitter here.
这篇关于Xcode 8控制台垃圾?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!