简体   繁体   中英

Memory Leaks instruments warning

当环境变量NSZombiesEnabled处于活动状态时,泄漏将报告误报

I have removed the NSZombiesEnabled from Debug run time argument in the environment variables.

在我的项目中,都没有选中“启用僵尸对象”选项,但是当我禁用“使用运行操作的对象...”选项时,对我却没有作用。

In my case I had to turn off the NSZombieEnabled in the Profile scheme.

在此处输入图片说明

In your Scheme -> Edit Scheme -> Diagnostics -> Enable Zombie Objects is set to off?

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM