Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Mac OSX Lion, if you open multiple copies of the iOS simulator on multiple user accounts, the simulator won't work. There is a bug with shared use of the simulator and OSX fast user switching.

Is it possible to automatically close the simulator, whenever I switch user accounts? I end up having to switch back and kill the simulator.

share|improve this question

You shouldn't have to switch accounts. You should be able do so something like

sudo killall "iOS Simulator"

Or you can put that in a script and add it to your startup items, or add it as a per-user launchd job under /Library/LaunchAgents. You might have to edit /etc/sudoers to allow any account to run that command/script.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.