Im amending an app using trigger.io, it is an iPad only app. When running the app It always starts up in an iPhone, changing it to iPad seems to break something. It also starts in the portrait orientation.
I have set:
"requirements": {
"ios": {
"device_family": "ipad",
"minimum_version": "4.0"
}
But alas, still starts up in iPhone mode.
How can I get the simulator to always start up in the iPad in landscape mode?
Update: selecting the simulator family and version is possible since Trigger.io Forge v1.4.24: see simulatorfamily
and simulatorsdk
in http://docs.trigger.io/en/v1.4/tools/local-config.html#available-forge-parameters
Previously, you had the run the simulator manually, from the command-line - that method preserved for completeness:
In a terminal, change to the app's directory and run:
.template/lib/ios-sim-xc4.3 launch development/ios/simulator-ios.app --sdk 5.0 --family ipad --stderr output.log
Here, you can change the --sdk
and --family
settings to use different versions and devices - run the command with no arguments to see available options.
If you get the simulator crashing on a segfault, make sure you use the --stderr
argument to redirect output to a file.