调试区域中显示的信息过多 - Xcode 8 [英] Too much information being presented in Debug Area - Xcode 8

查看:35
本文介绍了调试区域中显示的信息过多 - Xcode 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到 Xcode 8,在构建和运行我的项目时,大量信息被打印到调试区.

这是一个示例:

016-09-14 08:37:54.394736 SmartTapp[8645:112431] 子系统:com.apple.network,类别:,enable_level:0,persist_level:0,default_ttl:0,info_ttl:0,debug_ttl:0,generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 02016-09-14 08:37:54.395777 SmartTapp [8645:112431] [] tcp_connection_create_with_endpoint_and_parameters 1 www.smarttapp.com 802016-09-14 08:37:54.397472 SmartTapp [8645:112431] [] tcp_connection_start 1 开始

如何关闭此功能?

我已经尝试过这里提供的建议,但没有奏效.

I just upgraded to Xcode 8 and upon building and running my project an enormous amount of information is being printed to the Debug Area.

Here is a sample:

016-09-14 08:37:54.394736 SmartTapp[8645:112431] subsystem: com.apple.network, category: , enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 0 2016-09-14 08:37:54.395777 SmartTapp[8645:112431] [] tcp_connection_create_with_endpoint_and_parameters 1 www.smarttapp.com 80 2016-09-14 08:37:54.397472 SmartTapp[8645:112431] [] tcp_connection_start 1 starting

How do I turn this off?

I have already tried the suggestion offered here and it didn't work.Hide strange unwanted Xcode 8 logs

解决方案

Open:

  • => Product
  • => Scheme
  • => Edit Scheme
  • => Select "Run"
  • => Second Tab "Argument"
  • => Inside Environment Variables press + button
  • => add Name = OS_ACTIVITY_MODE & set the Value to disable
  • Press Close button

And you are done.

这篇关于调试区域中显示的信息过多 - Xcode 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆