Execute a script after an XCode project build

Discussion in 'Mac Programming' started by eddyq, Jul 27, 2009.

  1. eddyq macrumors member

    Jun 10, 2009
    Is there a way to execute a script after a successful XCode build? If you are familiar with Visual Studio it would be equivalent to the Post-Build Event in VS.
  2. HiRez macrumors 603


    Jan 6, 2004
    Western US
    Right-click on your project target in Xcode, choose Add > New Build Phase > New Run Script Build Phase. I don't know how you can tell it to only execute on success, but maybe if it's the last item in the build that would have the same effect.

Share This Page