I am using UIAutomation provided by Apple -> Xcode -> instruments. I have my Javascripts and the whole automation using instruments command line infrastructure running up.
I got an additional task of running automation on previous versions of simulator (iOS 6.0 , 5.1, 5.0, 4.3.2) to provide better coverage.
But i do not know a way to specify which version of iOS simulator to choose from. by default it always chooses the lates iOS simulator.
I have tried the following things:
- Specifying the path where the simulator is kept which includes the version path of simulator.
- Making a custom Automation template trace and trying to use it.
- Changed the default version of iOS simulator using defaults write com.apple.simulator utility.