如何使用NSZombie?
所以我刚刚完成了我的应用程序,我想在最后几个步骤中对其运行一些诊断。就其内存使用情况、分配情况、泄漏情况等而言。
我有几个问题: 1)是否有一个标准的工具/检查列表,我应该在提交之前在我的应用程序上运行以确保其稳健?如果是这样,有人可以向我指出一些链接和/或告诉我一些名称,以便我可以用谷歌搜索这些内容。
2)我知道要运行的工具之一是 NSZombieEnabled。我按照我在某些网站上找到的在线步骤来设置此 NSZombie 测试,但它似乎不起作用。我查看了这个网站: NSZombieEnabled
这是我尝试后的 XCode 的样子那里列出的步骤:
但是为什么僵尸选项没有突出显示?
一旦我让它工作起来,我该如何实际使用 NSZombies?
So I just finished my app and I wanted to as the final few steps run some diagnostics on it. In terms of what its memory usage, allocations, leaks, etc are.
I have a few questions:
1) Is there a standard list of instruments/checks I should run on my app be fore its submitted to make sure its robust? If so could someone point me to some links and/or tell me some names so I can google the stuff.
2) One of the tools I know to run is NSZombieEnabled. I followed the steps I found online on some sites to set up this NSZombie test but it doesn't seem to be working. I looked at this site: NSZombieEnabled
This is what my XCode looks like after I tried the steps listed there:
But why is the zombies choice not highlighted?
Once I get it to work how do I actually use NSZombies?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,NSZombies 仅可用于调试在模拟器上运行的 Mac 应用程序或 ios 应用程序。它不能用于在 i 设备上运行的应用程序。
关注此线程和这个。
So far from what I know, NSZombies is only available for debugging Mac apps or ios apps running on the simulator. It cannot be used for apps running on i devices.
Follow this thread and this.