调试区域中显示的信息太多 - Xcode 8

时间:2016-09-14 13:07:48

标签: xcode

我刚刚升级到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: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开始

如何关闭此功能?

我已经尝试了此处提供的建议,但它无效。Hide strange unwanted Xcode 8 logs

1 个答案:

答案 0 :(得分:26)

打开:

  • =>产品
  • =>方案
  • =>编辑方案
  • =>选择"运行"
  • =>第二个标签"参数"
  • =>在环境变量内按+按钮
  • =>添加Name = OS_ACTIVITY_MODE & Value设置为disable
  • Close按钮

你已经完成了。

tcp_connection_start debug log