无法启用 NSZombieEnabled
我正在使用 xcode_3.2.3_and_ios_sdk_4.0.1 并设置以下所有内容。
启用它(在 xcode 中) 1. 双击 Xcode 项目的可执行文件组中的可执行文件。 2. 单击参数选项卡。 3. 在“环境中设置的变量:”部分中,创建一个名为“NSZombieEnabled”的变量并将其值设置为“YES”。
但我在 Leaks 中看不到 NSZombieEnabled。当我单击分配右侧的 X 按钮时,我只看到 4 个项目,而不是 5 个项目。我看不到“启用 NSZombie 检测”复选框。
我的测试 iPhone 是 3G,更新了 4.0 iOS。我可以使用使用 NSZombieEnable 的设备吗?
谢谢。
I am using xcode_3.2.3_and_ios_sdk_4.0.1 and I setup everything the below.
To enable it (in xcode)
1. Double-click an executable in the Executables group of your Xcode project.
2. Click the Arguments tab.
3. In the “Variables to be set in the environment:” section, make a variable called “NSZombieEnabled” and set its value to “YES”.
But I can not see the NSZombieEnabled in Leaks. When I click X button on the right of Allocations, I only see the 4 items, not 5 items. I can not see "Enable NSZombie detection" check box.
My test iphone is 3G, updated 4.0 iOS. Could I use a device for using NSZombieEnable?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论