Hey everyone,
I'm getting a senseless error when I load an application I'm writing for the first time.Class _NSZombie_NSKeyValueUndefinedGetter is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
Anyone's had this issue before? It happens only when NSZombies are enabled.
Thanks in advance to ever开发者_运维知识库yone.I encountered the same problem with troubleshooting EXC_BAD_ACCESS and had hard time to find the setting with Xcode 4.2 (the latest one that comes with iOS5 SDK). Apple keeps on moving things and the settings are no longer where they used to be.
Fortunately, I've found it and it works for the device, not just Simulator. You need to open the Product menu in the Xcode, select Edit scheme and then choose the Diagnostics tab. There you have "Enable Zombie Objects". Once selected and run in debugger will point you to the double released object! Enjoy!
精彩评论