在Xcode 6.0.1中使用仪器进行分析时,应用程序挂起 [英] Application hangs when profiling with instrument in Xcode 6.0.1

查看:53
本文介绍了在Xcode 6.0.1中使用仪器进行分析时,应用程序挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我观察到,每当我使用Xcode 6.0.1中的工具对应用程序进行性能分析时,每次浏览应用程序时应用程序都会挂起.我正在使用iPhone 5S(iOS 8.0.2)运行我的应用程序.当我在设备上运行应用程序时,一切运行正常.

I am observing that whenever I am profiling my application using instrument in Xcode 6.0.1, application hangs every time while I am browsing through the application. I am using iPhone 5S (iOS 8.0.2) to run my application. When I run the application on device it runs all fine.

推荐答案

找到了解决方法-禁用NSLog语句(在发布时进行概要分析而不在调试中进行概要分析)为我解决了这个问题.

Found the fix - disabling the NSLog statements (profiling on release and not on debug) solved the issue for me.

这篇关于在Xcode 6.0.1中使用仪器进行分析时,应用程序挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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