Xcode Instruments - Zombies - what am I looking fo

2019-03-09 17:08发布

When I run Project/Profile in Xcode and choose "Zombies", the app runs in the simulator with "NSZombie detection" enabled. But what should I be looking for to tell me that there is a problem? All I see is the Allocation instrument running and the statistics below. Where will it actually show me that a Zombie was detected?

1条回答
够拽才男人
2楼-- · 2019-03-09 17:38

You will get the leak above the object allocation bar. Check this image; enter image description here

For a reference, check this video

查看更多
登录 后发表回答