2011-11-14 44 views
1

使用5.0模拟器,每次轻击和滚动都会在输出日志中显示调试消息。例如:使用iPhone 5.0模拟器的UI自动化调试消息

Debug 
11/14/11 4:00:10 PM GMT+02:00 
target.frontMostApp().mainWindow().navigationBar().rightButton().tap() 

随着4.3模拟器一切都OK。如何在5.0模拟器中关闭垃圾邮件的调试消息?

回答

2

defaults write com.apple.Instruments3 UIAVerboseLogging -int 4096

重置:

defaults delete com.apple.Instruments3 UIAVerboseLogging

您需要使用更改后重新启动仪器,以观察效果。

+1

这是记录在哪里? –

+0

没有为我工作。 – phatmann

相关问题