It looks like xcode\'s $PATH environment setting is different from my user shell environment.
Where does xcode get the $PATH setting from and what\'s the best way t
In Xcode 5 you can add your PATH as a variable to either a target or the project settings.
+
sign on the top of the pagePATH
and add your preferred value (e.g. /usr/local/bin
for a default install of homebrew. 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.
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.