Xcode Tutorial: Building and Running Python Scripts in Xcode step by step

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.

Post a Comment

Previous Post Next Post