Build automation

When I build my release version of my application, I have a script step after the actual “Build” step. At the end of it I run the application with DoShellCommand. Unfortunately after my script the compiler brings the OS X Finder to the front to show the compiled application file. Is there a way to have the running application in the front?

Turn off the setting that reveals the built app in the Finder.

God, I’m so thankful for this fast response. I was close to invest an hour or two to find a scripting solution…