Xcode 6仪器冻结 [英] Xcode 6 Instruments freeze

查看:124
本文介绍了Xcode 6仪器冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 6 Instruments中分析我的iOS 8应用程序将运行该应用程序约5秒然后冻结。在该点之后,探查器仍将运行,但应用程序已冻结且无法使用。在设备和模拟器上发生,无论我使用哪个探查器(计时器,泄漏等)

Profiling my iOS 8 app in Xcode 6 Instruments will run the app for about 5 seconds and then freeze. The profiler will still run after that point but the app is frozen and unusable. Happens on device and simulator and regardless of which profiler I'm using (timer, leaks, etc.)

从调试器运行应用程序或临时构建工作正常。 iOS 7的分析工作也很好。

Running the app from the debugger or an ad hoc build works fine. Profiling with iOS 7 works fine as well.

知道为什么会这样吗?仪器坏了吗?

Any idea why this may be happening? Is Instruments broken?

推荐答案

这里同样的问题:

在XCode 6.0.1中使用仪器进行性能分析时应用程序挂起

看起来如果删除所有NSLog语句,它将修复它。
对我来说,这只发生在iOS 8上,我在iOS 7上没有问题。

Looks like if you remove all the NSLog statements it will fix it. For me this is happening only on iOS 8, i have no problems on iOS 7.

这篇关于Xcode 6仪器冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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