Seeing the horizon of automatic deployment of iOS apps right on us, I thought that I could start by automatically testing my tests.
Looking through all the details of the process, I reached a dead end. My application can sometimes display several user interface errors if it runs in landscape orientation. Naturally, I want to do some unit tests, making sure that if this happens, my application will not be deployed. Therefore, the problem I'm currently facing is how to launch the iOS simulator in a specific orientation through the command line.
I know about iphonesim , but as far as I can see, it does not have such functions yet. Maybe this can be changed ... Any ideas?
Thank.
EDIT: For clarification, the problem only occurs in the configuration of the iPad simulator, since you can run the application directly in lanscape mode only on the iPad.
source
share