Xcode Instruments - Zombies - what am I looking for?
-
28-06-2021 - |
Question
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?
Solution
You will get the leak above the object allocation bar. Check this image;
For a reference, check this video
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow