XCode Instrument - Allocations Instrument not finding zombies

我们两清 提交于 2019-12-06 13:27:10

There's a bug in iOS before 6.0 (and Mac OS before 10.8) under ARC and NSZombieEnabled that prevents automatic release of instance variables and properties.

That explains what you see, because objects would just leak instead of turning into Zombies.

Solution: Test under iOS 6.0.

Additional info: The problem persists under Mountain Lion when testing in the 5.1 simulator.

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