title: How to use ~/.bash_profile environment variables when using "Run Script" in "Build Phases" for XCode 6.1?
body: <p>I have a cross platform unit testing framework that I use for C++. In order to build and run the tests in XCode 6.1 I need to run a python script as part of a prebuild script. </p>
  
  <p>Since I use the same unit testing framework for multiple projects I figured it'd be great to use environment variables in my <code>~/.bash_profile</code> to point to the resources necessary for the python script. But it seems that XCode 6.1 doesn't load the <code>bash_profile</code> before running the script in the build process. Are there alternatives to using the <code>bash_profile</code>? Maybe I could add my environment variables to the XCode environment variables list? But this seems to be changing with each update to OSX. I can't seem to figure out where I can add environment variables for XCode 6.1.</p>