Zombie option missing from both diagnostics and instruments

坚强是说给别人听的谎言 提交于 2019-12-23 16:04:58

问题


Running Xcode 4.0.2, the Zombie option is missing, from both places where other SO posts have suggested to find it.

Product > Run... looks like this:

Product > Profile looks like this:

What is strange is that I have used Zombies before in this version of Xcode. I did a profile using the Allocations instrument, clicked Allocations' info button ("i") at the upper left, and checked the "Enable Zombie..." that then appeared there. But when I try that now, I get this:

No more Zombies. Is it possible that I somehow removed them?


回答1:


After digging around some more, I found the answer here: zombie question

Ehud B's answer says you have to use the simulator for iOS apps, not the device. When I switched to the simulator for profiling, the zombies were back.

I should note that Moshe Kravchik's answer indicates that zombies are available in iOS 5. I'm still using iOS 4.



来源:https://stackoverflow.com/questions/10564018/zombie-option-missing-from-both-diagnostics-and-instruments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!