You need to add βRun Scriptβ to the build phases, and then drag it over the build phase of the compilation sources.
I still do not understand the purpose of the "pre-action", it seems, is not even fulfilled. However, in my case, I just needed a script to execute before my sources were compiled.
source share