_NSZombie_NSKeyValueUndefinedGetter - 这是什么?
大家好,
当我第一次加载我正在编写的应用程序时,我遇到了一个毫无意义的错误。
类 _NSZombie_NSKeyValueUndefinedGetter 在 ?? 中都实现了和 ??。将使用两者之一。哪一个未定义。
以前有人遇到过这个问题吗?仅当启用 NSZombies 时才会发生。
预先感谢大家。
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 everyone.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在排查 EXC_BAD_ACCESS 时遇到了同样的问题,并且很难在 Xcode 4.2(iOS5 SDK 附带的最新版本)中找到该设置。苹果不断地改变事物,设置也不再像以前那样了。
幸运的是,我找到了它并且它适用于该设备,而不仅仅是模拟器。您需要在 Xcode 中打开“产品”菜单,选择“编辑方案”,然后选择“诊断”选项卡。在那里你有“启用僵尸对象”。一旦选择并在调试器中运行,您将指向双重释放的对象!享受!
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!