Has anyone had any luck running two instances of the iPhone simulator to test network code between the two?
-
No but you can run the Simulator and the WiTap code on your phone. I've done that and it's pretty cool.
Just provision the WiTap code for your development provisioning profile and load it on the phone. Then, making sure the phone is on the same network wifi, you can run your development machine with the Simulator running WiTap, and the phone running WiTap.
Works like a charm.
jhs : Charms don't work, but we get your meaning. -
Just an idea, but you could try adding another user to your mac and run the simulator within both accounts. (I am pretty sure that the simulator config is stored relative to the user home directory)
First step would be to get that going under user switching. If that works, it should hopefully set up everything the simulator needs for a second instance. Then log out the second account, go back to your usual account. Now try running a second simulator instance from the command line in a terminal, but as the second user account (use 'su -' to switch the other user account before running the simulator).
I'm not at my mac and offhand I don't know the name of the simulator binary or I would try this out and paste some code for you.
-
FYI, frankodwyer's idea of running iPhoneSimulator as a different user doesn't work. Quoth Finder: "You can't open the application 'iPhone Simulator' because another user has it open. Ask the other user to quit the application, then try again."
0 comments:
Post a Comment