where is $PATH set in xcode? where is $PATH set in xcode? xcode xcode

where is $PATH set in xcode?


if you're writing a Run Shell Script build phase, you can just do:

PATH=${PATH}:/opt/local/bin

or whatever inside the script content.


This applies for OSX 10.7 and earlier ONLY.

XCode gets its environment variables the same way as other OS X processes, from ~/.MacOSX/environment.plist.

Check developer.apple.com/qa/qa2001/qa1067.html for details on how to set things.


The easiest solution is to add the PATH variable in Xcode.

PATH=${PATH}:/usr/local/bin

enter image description here