Pre-Conditions
1. Xcode 7
2. Appium 1.4.13
3. Created two new simulator with different names and I'm able to successfully launched using command line.
Executed steps
1. Launched Selenium Grid
2. Started appium server with below commands
2. a
node appium.js -bp 5557 --chromedriver-port 5745 --port "4726" --nodeconfig /Software/iPhone6IOSSimulator.json --command-timeout "7200" --session-override --debug-log-spacing --log "/tmp/appium.log" --platform-version "9.0" --platform-name "iOS" --show-ios-log --device-name "iPhone 6 Srikanth" --launch-timeout "9999999" --native-instruments-lib
2.b
node appium.js -bp 5558 --chromedriver-port 5746 --port "4727" --nodeconfig /Software/iPhone5IOSSimulator.json --command-timeout "7200" --session-override --debug-log-spacing --log "/tmp1/appium.log" --platform-version "9.0" --platform-name "iOS" --show-ios-log --device-name "iPhone 5 Srikanth" --launch-timeout "9999999" --native-instruments-lib
ISSUE
When I run my script that time it is launching on first simulator and after that my script is trying to start on second simulator, that time my first simulator is automatically killed because appium is killing all the opened simulator instances. So its not possible to launch app on multiple simulators.
Looking for solutions
Is there any way to prevent killing all opened simulators when we start appium?
is there any flag through which I can set not to kill simulator instances?
Thanks
Srikanth