How to: Enable NSZombie in Xcode 4


NSZombies are a great way for tracking down premature release of objects while coding Objective C. Here’s quickest way to enabling them:

Then uncheck the top check box so that you can add Environmental Variables then add NSZombiesEnabled and set its value to YES