osx mavericks - Where are XCode 3 environment variables defined? -


on mac os 10.9.3, have c++ xcode 3 project on which, don't know where, environment variable set (say myvar). can see when launch build in command line using xcodebuild terminal, in output:

... setenv myvar "my value" ... 

this variable absolutely unset global environment variables of os (.bashprofile, .profile, launchd.conf, profile, .bashrc, etc.) . when type

echo $myvar 

in terminal, displays empty result.

so, can variable defined? searched in source tree variables, in pbxproj file, in xcconfig.

i found answer. have detailed in this thread.

in few words, variables remained present in 3 different preferences files:

codebuild.plist com.apple.xcode.plist com.apple.dt.xcode.plist 

they can found in /library/preferences.

after restarting computer, variable has disappeared.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -