Run several instances of the simulator and launch tests on them

Hi everyone,


As I know, it is possible to run two simulator instances using next command:


open -n /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID $UDID

So using this command I can, for instance, launch simultaneously 'iPad 2' and 'iPad Retina' simulator instances. But when I try to run xcodebuild for testing (when I have already active simulator instances), it tries to use both simulators for testing inspite of destination option which I use in xcodebuild command. My purpose is to separate testing process between simulators.

Could someone tell is it possible to use "xcodebuild test" to test in specific simulator instance without touching another active instances?

Thank you

The issue is that Xcode will end up communicating with all Simulator.app instances because they all listen to the same notifications. The support that you are looking for is currently not available.

I've filed an ER under rdar://problem/24764852

Run several instances of the simulator and launch tests on them
 
 
Q