In the typical build and run sequence of XCode, you often have your app still running in the iPhone simulator from the last time. XCode helpfully asks if you would like to stop the executable before it installs and runs the newest build.
But how does XCode signal the iPhone simulator to stop the application?
And could I write a step into my build sequence to do the same to save having to dismiss this dialog?