Naresh
Naresh

Reputation: 17932

iPhone simulator not visible in Xcode

I recently updated my Xcode from 9.2 to 9.3. But unfortunately, all iPhone simulators are no longer visible.

screen shot

How do I solve this problem?

Upvotes: 1

Views: 9985

Answers (6)

Doan Bui
Doan Bui

Reputation: 4436

All way above not working for me. It's took for 3 days, finally I found exactly way to fix this error. Because iOS Deployment Target under build settings is higher than list simulator. I was using Xcode 12 while the deployment target was set to iOS 14.5. I got the list of simulators as soon as I set it to iOS 14.4. So you just need to downgrade IOS version smaller than IOS version in simulator.

enter image description here

Upvotes: 3

Ahmadreza
Ahmadreza

Reputation: 7222

Lowering down the deployment target in the build settings did the trick for me.

Upvotes: 1

Italo Hernández
Italo Hernández

Reputation: 1132

Also remember to check the architectures, they must match the type of device, for example, if you only have arm64 selected nothing will appear, you must select armv7, or both.

Upvotes: 2

Muhammad Ahmed Baig
Muhammad Ahmed Baig

Reputation: 726

I have another solution, You can also perform these steps, to resolve this problem:

Step 1: Select Preferences... from menu

Step 1

Step 2: Select locations from top tab

Step 2:

Step 3: select xcode which you use.

Step 3: select xcode which you use.

If Simulator doesn't show after this process then Quit XCode and then reopen again.

Upvotes: 1

Abhishek
Abhishek

Reputation: 3614

Also you have two options as shown in your screenshot.

  1. Add additional simulators
  2. Download simulators

Try them out

Upvotes: 1

AnthoPak
AnthoPak

Reputation: 4391

You have to delete Derived Data.

In Xcode, go to Preferences > Locations > Derived Data : click the little arrow to open the derived data path in Finder. Delete the DerivedData folder.

Restart Xcode.

It should work.

Upvotes: 6

Related Questions