How to enable NSZombie in Xcode?

后端 未结 15 2005
梦毁少年i
梦毁少年i 2020-11-21 05:20

I have an app that is crashing with no error tracing. I can see part of what is going on if I debug, but can\'t figure out which object is \"zombie-ing\".

Does anyb

15条回答
  •  执笔经年
    2020-11-21 06:20

    Go to Product - Scheme - edit scheme - Arguments - Environment Variables set NSZombieEnabled = YES

    enter image description here

    enter image description here

提交回复
热议问题