There is little to do this, but overall it's pretty easy.
The first thing you need to do is open Automator. If you have never used it before, it is included on your Mac, so just do a search. When Automator starts up, you will be asked to create a new project, select "Service". 
Then adjust the reception section as follows 
On the left side of Automator, you’ll see a search bar, find “Launch Applescript”, and then drag the instance “Launch Applescript” into the “Service” section.
Now you will want to change the application to suit your needs. In this case, you replace "(* Your script goes here *)" with "tell the iPhone Simulator application to exit"
As soon as you finish modifying Applescript, save the automation as you like, it will appear in the services under this name.
Now you’ll go to “System Preferences” and search for “services”,
As you can see, I called my service “Quit Simulator” to select yours and define any shortcut that you want for it. (Try not to conflict with existing shortcuts!)
And now, if you encounter a "Simulator in use" error, you can exit the simulator by ending any current process with a simple keystroke.
Hope this helps!
Mick MacCallum Mar 04 '12 at 7:00 2012-03-04 07:00
source share