How to enable NSZombie in Xcode?

后端 未结 15 2001
梦毁少年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 05:53

    in ur XCODE (4.3) next the play button :) (run)

    select : edit scheme

    the scheme management window will open

    click on the Arguments tab

    you should see : 1- Arguments passed on launch 2- environment variables

    inside the the (2- environment variables) place Name: NSZombieEnabled
    Value: YES

    And its done....

提交回复
热议问题