在ios6上使用Xcode 5追踪僵尸 [英] Tracking down zombies with Xcode 5 on ios6
问题描述
我在代码中的某个地方有一个zombie对象,当它在iOS 6.1上运行但不在7中。
I have a zombie object somewhere in my code when it is run on iOS 6.1 but not in 7.
不幸的是,乐器不会与僵尸一起运行它会弹出以下警告。 僵尸只能在iOS 7或更高版本的设备上运行。
Unfortunately instruments will not run with zombies it pops up the following warning. "Zombies can only be run on devices with iOS 7 or later".
我真的不想下载旧版本的Xcode,因为互联网速度很慢。
I don't really want to download an older version of Xcode as works internet is painfully slow.
由于我的正常goto方法不可用,有什么一些提示/技巧可以找到这个僵尸的原因。
What are some tips/tricks for hunting down the cause of this zombie as my normal goto approach is unavailable.
我们非常感谢任何帮助。
Any help would be greatly appreciated.
推荐答案
从菜单中栏,选择项目>方案>编辑方案...单击左侧列表中的运行项。然后单击右侧的诊断选项卡。打开启用僵尸对象复选框。从Xcode运行你的应用程序。
From the menu bar, choose Project > Scheme > Edit Scheme… Click the Run item in the list on the left. Then click the Diagnostics tab on the right. Turn on the "Enable Zombie Objects" checkbox. Run your app from Xcode.
这篇关于在ios6上使用Xcode 5追踪僵尸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!