Xcode 6内存泄漏仪器不起作用 [英] Xcode 6 Memory Leaks Instrument doesn't work

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

问题描述

我正在尝试使用Instruments查找我的应用程序中的漏洞.我这样做的方式与更新到Xcode 6.x之前的方式相同.自更新以来,它不会拍摄任何快照:泄漏仪器状态显示为分析过程",并且永远不会更改.

I am trying to use Instruments to find leaks within my app. I do it in the same way as I did before updating to Xcode 6.x. Since updating, it won't take any snapshots: the leaks instrument status displays "Analyzing process" and will never change.

Xcode 6.0.1和6.1 GM 2都出现此问题.

Both Xcode 6.0.1 and 6.1 GM 2 exhibit this problem.

有什么解决方法吗?

推荐答案

似乎是iOS8(而非Xcode)上的错误.我有Xcode6.1,内存泄漏分析器似乎可以在iOS7上运行.

Seems like is a bug on iOS8 and not on Xcode. I have Xcode6.1 and the memory leak profiler seems to work on iOS7.

作为一种变通办法,直到Apple修复此问题(已报告该错误并将其标记为重复),您可以使用模拟器来分析内存泄漏.

As a workaround until Apple fix this (already reported the bug and was marked as duplicate) you can profile your memory leaks using a simulator.

这篇关于Xcode 6内存泄漏仪器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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