Go to the project file, Build Phases, click Editor on the toolbar menu, add Build Phase, Add Run Script... You can select and drag the script to put it before/after anything. Then the shell should be /usr/bin/python, then you can type in your script below. The script will run every time you build.
I hope you like. Thanks.
Tags:
tipsntrick