When compiling a project with an external build environment (scons) in XCode I run into the the issue that XCode can't find protoc which is in the /usr/local/bin directory.
sh: protoc: command not found
How can I add this path variable to sh / xcode
I implemented a shell script that adds the path locally and run this instead of the external build tool. This script first sets the path and flags and then later simply calls the external build environment scons. Not pretty but works...