来自 xcode 的 iOS 运行应用程序向我显示一条消息以启用调试日志记录

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34789022/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:25:39  来源:igfitidea点击:

iOS running app from xcode show me a message to enable debug logging

iosxcode

提问by Rotem

when I start my app from xcode 7 I see this message

当我从 xcode 7 启动我的应用程序时,我看到了这条消息

2016-01-14 13:50:13.119 Guggy[31879:] <GMR/INFO> To enable debug logging      
set the following application argument: -GMRDebugEnabled (see  http://goo.gl/Y0Yjwu)

I tried to follow their instructions in the link but it still show me this message.

我试图按照他们在链接中的说明进行操作,但它仍然向我显示此消息。

enter image description here

在此处输入图片说明

What am I doing wrong?

我究竟做错了什么?

采纳答案by Guilherme Puglia

You are not doing anything wrong.

你没有做错任何事。

The message " To enable debug logging ..." is always showing up regardless if you have the debug logging enabled or not.

无论您是否启用了调试日志记录,都会始终显示消息“启用调试日志记录...”。

If you want to check whether you enabled the debug logging, you should look for the following message: " Debug logging enabled".

如果要检查是否启用了调试日志记录,应查找以下消息:“调试日志记录已启用”。

Use -noGMRDebugEnabled to disable the debug logging.

使用 -noGMRDebugEnabled 禁用调试日志记录。