无法启用 NSZombieEnabled

发布于 2024-09-16 03:30:48 字数 356 浏览 13 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文