Xcode 9 doesn't have any simulator device

2020-02-09 09:06发布

I just downloaded xcode 9 beta, but there is no simulator within it. Try to add new simulator but the create button doesn't work. Please help

By "no simulator within it" I mean there is option to build with simulator.

See enter image description here.

Also, the create button doesn't work enter image description here

12条回答
萌系小妹纸
2楼-- · 2020-02-09 09:30

Having a higher deployment target than what is installed on your simualtors also causes this.

查看更多
【Aperson】
3楼-- · 2020-02-09 09:32

I have Xcode 8.3 and Xcode 9.1, I came to this post to find a solution to missing simulators after forced upgrade to 9.1...

I was about to do the suggestion to remove the entire DerivedData directory, lucky closing Xcode 9.1 and restarting it worked. Moreover, I had to close all simulator(s).

I had to rebuild app apps on simulator again.

查看更多
爷的心禁止访问
4楼-- · 2020-02-09 09:36

When my xcode updated to 9.4 I face the same problem at first time. After force quit and start again solve the problem for me.

查看更多
一夜七次
5楼-- · 2020-02-09 09:38

If you upgraded Xcode then follow the steps

1) Delete derived data, 
   Xcode-> Preferences -> Locations and select arrow symbol just before Advance button -> select all files and delete.

2) Quite Xcode
3) Quite Xcode from Dock
4) Open Xcode again. 

:-) Hope this will help you.

查看更多
不美不萌又怎样
6楼-- · 2020-02-09 09:43

You may have removed iOS Simulators when you cleaned up disk space. I think I may have used DaisyDisk to remove files when I ran out of space.

You can re-add simulators using the Devices & Simulators window. (Shift + Command + 2)

Xcode 9 Devices and Simulators Window

查看更多
萌系小妹纸
7楼-- · 2020-02-09 09:47

This may happen due to multiple Xcode installed on machine or might be the deployment target is higher than the simulator OS version.

In order to resolve this navigate to following location : Xcode > Preference > location > comindline Tool > change the xcode version

and decrease the deployment target.

查看更多
登录 后发表回答