Can I set the default simulator for new projects in Xcode 7.1 or latest?

后端 未结 7 1399
别跟我提以往
别跟我提以往 2020-12-01 17:56

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 bi

相关标签:
7条回答
  • 2020-12-01 18:08

    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.

    0 讨论(0)
  • 2020-12-01 18:15

    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.

    0 讨论(0)
  • 2020-12-01 18:24

    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.

    0 讨论(0)
  • 2020-12-01 18:25

    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'

    0 讨论(0)
  • 2020-12-01 18:26

    You can select the desired simulator via the Hardware > Device > [OS] menu (Xcode 9):

    image While unchecking "Show as run destination" hides the simulator, this will also change the default value.

    Updated image for Xcode 11.5 image

    0 讨论(0)
  • 2020-12-01 18:27

    Xcode version 11.5

    On Simulator > File > Open Device > iOS 13.5 > Change the default Simulator

    Xcode(v11.5)

    0 讨论(0)
提交回复
热议问题