Execute a script after an XCode project build

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

  1. macrumors member

    Joined:
    Jun 10, 2009
    #1
    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. macrumors 601

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #2
    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