refreshPreferences iOS 11 + Xcode 9中的HangTracerEnabled / HangTracerDuration消息 [英] refreshPreferences HangTracerEnabled / HangTracerDuration messages in iOS 11 + Xcode 9

查看:256
本文介绍了refreshPreferences iOS 11 + Xcode 9中的HangTracerEnabled / HangTracerDuration消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到iOS 11后,在iPhone中运行应用程序后,我在Xcode控制台中收到此消息:

When update to iOS 11, after run app in iPhone, I receive this message in Xcode console:

SibDiet[924:111682] refreshPreferences: HangTracerEnabled: 0
SibDiet[924:111682] refreshPreferences: HangTracerDuration: 500
SibDiet[924:111682] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0

现在我在每个模拟器和应用程序中收到此消息。

And now I get this message in every simulator and app.

我该怎么办?解决这个问题?

How can I solve this problem?

推荐答案

您可以在目标上单击鼠标左键隐藏此消息,然后编辑方案

You can hide this message with click left mouse button on your target, and next Edit Scheme.

之后的环境变量创建名称为 OS_ACTIVITY_MODE 的变量,并将值禁用,如下图所示。

After that in section Environment Variables create variable with name OS_ACTIVITY_MODE and value disable as on the picture below.

这篇关于refreshPreferences iOS 11 + Xcode 9中的HangTracerEnabled / HangTracerDuration消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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