My Xcode project has a pre-compiled header dependencies, but this .pch
file depends on another header file which won't be there when compile my project.
So, how to add a step to execute a shell command before pre-compiled header in Xcode to generate the dependent header file?
I believe you are looking for this, in pre-build actions you can add whatever you need to the shell script.