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
If you want act on the value of environment variable in your own code, use the following:
NSDictionary *env = [[NSProcessInfo processInfo] environment];
Edit Scheme... / Run / Arguments / Environment is where to go to edit the environment variables for runs from Xcode.
Edit Scheme... / Run / Arguments / Environment