Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I run multiple ios simulators to test p2p [duplicate]

Possible Duplicate:
Is there a way to run multiple iOS Simulators at once?

I'm trying to develop an app that uses the gamekit to communicate between 2 devices using bluetooth. I was wondering if there is a way to test this using just the ios simulators? Is there a way to use a virtual machine to run multiple instances of the simulator at once?

like image 270
theNoobProgrammer Avatar asked Sep 20 '11 17:09

theNoobProgrammer


People also ask

How many simulator instance can run for an instance of the Xcode?

You can run two instances of the iOS simulator from the command line. They won't be attached to Xcode debugging—indeed, it seems only to work if you do it without Xcode running at all. Now open a Terminal window, and do this. When the second one launches you'll get an error alert.

How do I run Xcode in different simulators?

If you require a different version of the iOS simulator than is provided by your Xcode installation, you can download additional simulators in Xcode. Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download.

What are the two ways to access iOS simulator in Xcode?

There are two different ways to access Simulator through Xcode. The first way is to run your app in Simulator, and the second way is to launch Simulator without running an app.


1 Answers

I think you are going to run into trouble with bluetooth in the simulators.

Running your app on two separate simulators isn't that hard in itself.

You might have to use a physical iOS device and connect it to your mac via bluetooth to the simulator.

like image 200
Jenn Avatar answered Nov 07 '22 22:11

Jenn