Since switching to XCode 4, I have been having issues finding how to set environment variables (such a NSZombies) in iPhone executables. In XCode 3, you could right-click on
Please see this answer: How do I set up NSZombieEnabled in Xcode 4?
EDIT: You can also go to this menu from Product => Edit Scheme