Is there a way to simulate multiple iphones using xcode/iphone sim?

It is possible but only with multiple users.

Read this: http://www.coderebel.com/2010/08/31/iphone_simulator

Assuming you have two projects (P1,P2) which you want to debug simultaneously, do as follows.

Steps to set up:

  1. Create a new user (U2) on your Mac
  2. Give it R/W access to P2, especially to its build folder.
  3. Download the launcher app from the site above and copy it to Applications.

Steps to debug:

  1. Close Xcode and the simulator if running
  2. Launch the iPhone Launcher.app with U1.
  3. Start Xcode with U1, load P1, start debugging.
  4. Launch the iPhone Launcher.app with U2.
  5. Start Xcode with U2, load P2, start debugging.

Unfortunately it’s a P.I.T.A. having to change users every now and then but so far I haven’t found any better solution. Hope this helps.

Leave a Comment