With the iOS 6 and 6 Plus adding to the few but various screen dimensions of iOS devices the aspect of testing your layouts and GUI against multiple device types is becoming more important.
The multi screen testing aspect is being emphasized even more when you’re working on a hybrid mobile app using HTML based layouts as your GUI with tools like Apache’s Phonegap/Cordova.
Building the iOS target, opening up XCode and selecting different device types to target and running the instance on them can be a tedious and error prone process. Luckily, it’s quick and easy to check what device types are available and to build-n-run your Cordova iOS project on a specific device using the CLI.
In this post i’ll show you how you can use the CLI to do just that.