How run tests in different IOS simulators (iOS 7/8, iPhone/iPad)

Hi there,

Just wondering how run tests in different IOS simulators? Am keen to run my suite against iOS 7 and 8. And iPad and iPhone. But dont want to have to update my desiredCapabilities manually each time?

Kind regards,

Charlie

I recompile the app with different versions of Xcode. using xcode-select and xcodebuild

Thanks for the reply Jasmine. How do you update the DesiredCapabilities when you provide different types of app builds (e.g. iOS 7 vs 8, or iPad vs iPhone)?