Xcode 8 Console Garbage? [duplicate]

2019-01-07 04:20发布

This question already has an answer here:

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: example of garbage in console

标签: ios xcode xcode8
2条回答
相关推荐>>
2楼-- · 2019-01-07 05:14

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.

enter image description here

查看更多
Emotional °昔
3楼-- · 2019-01-07 05:16

It seems this information is not garbage and can help with the variables view when checking system framework calls. However, this seems more related to debugging for the engineers at Apple and seems to have been logged as an xcode 8 issue. No idea when this will be resolved.

I also checked (started) the key binding with a "show" and "display" filters but none are relative to this. Below is apple's note:

• Xcode Debug Console shows extra logging from system frameworks when debugging applications in the Simulator. (27331147, 26652255).

查看更多
登录 后发表回答