def QuitSimulatorApp():
    'Quits the Simulator.app.'
    if (xcode_info_util.GetXcodeVersionNumber() >= 700):
        simulator_name = 'Simulator'
    else:
        simulator_name = 'iOS Simulator'
    subprocess.Popen(['killall', simulator_name], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
Quits the Simulator.app.
def QuitSimulatorApp():
    
    if (xcode_info_util.GetXcodeVersionNumber() >= 700):
        simulator_name = 'Simulator'
    else:
        simulator_name = 'iOS Simulator'
    subprocess.Popen(['killall', simulator_name], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)