Can I set the default simulator for new projects in Xcode 7.1 or latest?
XcodeXcode Problem Overview
I've been making a ton of new projects as I'm learning Swift. My development is all on my laptop, so I hate using the default 6s Plus simulator, since the window is too big to easily see. Is there a way to change the default simulator to be a different one for new projects?
Xcode Solutions
Solution 1 - Xcode
No need to delete simulators!
- Product → Destination → Add Additional Simulators...
- In the sidebar, select the simulator you want to hide
- Uncheck "Show as run destination"
Edit: Updated for Xcode 10
Solution 2 - Xcode
You can select the desired simulator via the Hardware > Device > [OS] menu (Xcode 9):
While unchecking "Show as run destination" hides the simulator, this will also change the default value.
Updated image for Xcode 11.5
Solution 3 - Xcode
Xcode 9 UPDATE:
In Xcode 9, no need to delete simulators, and the way to turn them on/off is to go in Product/Destination/Add Additional Simulators... select the simulator you want to turn off, then uncheck the box: 'Show as run destination'
Solution 4 - Xcode
No. But...
-
If you don't like the size of the 6s plus simulator, make it smaller with the simulator Window Scale menu.
-
If you don't like the 6s plus simulator at all, delete it with the Xcode Window Devices menu.
Solution 5 - Xcode
Xcode 12.5
In Xcode, go to Product -> Destination -> Choose Destination menu and selecting the device you'd like to be your default.
The original answer could be found in apple support forum here: Apple support forum,
In addition if you want to make the device smaller just hover over bottom right corner of the simulator and you will see the resize option
Solution 6 - Xcode
Deleting the simulators you don't want will default you to the simulator you do want. I also develop on my laptop and the biggest simulator I can see w/o scaling down is the 4S, so I deleted simulators for iPhone 5 and above and now every project I create defaults to 4S simulator. If I ever need the newer simulators, I will just re-download.
Solution 7 - Xcode
In my case, just select the device in Product → Destination, Xcode 12.4
Solution 8 - Xcode
Xcode version 11.5
On Simulator > File > Open Device > iOS 13.5 > Change the default Simulator
Solution 9 - Xcode
open your simulator, choose **File/Open Device/iOS 13.5/iPhone8 ** will change your simulator device to iPhone 8. When you reopen your simulator, iPhone 8 will be your device simulator.