如何在Xcode 4中关闭NSZombieEnabled [英] How to turn off NSZombieEnabled in Xcode 4

查看:146
本文介绍了如何在Xcode 4中关闭NSZombieEnabled的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚迁移到Xcode 4,我在Xcode 3中为我的应用程序激活了僵尸。我使用了以下方法:

I have just migrated to Xcode 4 and i had zombie activated in Xcode 3 for my app. I used the following method:


转到项目 - >编辑活动可执行文件
单击参数
单击+ 要在环境中设置的变量部分
在名称列中输入NSZombieEnabled,在值列中输入是。
确保选中NSZombieEnabled条目的复选标记。

Go to Project -> Edit Active Executable Click Arguments Click + in the "Variables to be set in the environment" section Enter NSZombieEnabled in the Name column and YES in the Value column. Make sure the checkmark for the NSZombieEnabled entry is checked.

现在我想确保它已关闭我的应用程序但不明白如何在XCODE4中检查/做到这一点,任何可以分享一些亮点的人?

Now i want to make sure it is off for my application but do not understand how to check/do that in XCODE4, anyone that can share some light on that?

推荐答案

编辑环境变量,转到菜单产品/编辑方案...,首先从左侧边栏选择所需的配置(您可能想要'运行'),然后单击参数选项卡。环境变量可在那里配置。

To edit environment variables, go to Menu Product / Edit Scheme…, select the desired configuration (you probably want 'Run') from the left sidebar first and then click on the Arguments tab. Environment variables are configurable there.

这篇关于如何在Xcode 4中关闭NSZombieEnabled的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆