How do you set the default device in the iPhone simulator?
In Xcode 9 you can select multiple devices. However an easy way to default to your favorite device is the following:
- Choose your device from simulator-hardware-device-os you are working on
- Now go to simulators - windows and turn off “ show device bezel”
- Now simply close the ones you don’t want
I got XCode 4 to launch the iPhone simulator instead of the iPad simulator by doing this:
- In the "Product" menu, pick "Edit Scheme".
- Single-Click "Run *Your_Project_Name* Debug" from the list on the left of the scheme editing window.
- At the top of the window notice that the pull-down above "Destination" is set to "iPad 4.3 Simulator".
- Change the pull-down to "iPhone 4.3 Simulator".
- Click "OK".