Reputation: 17932
I recently updated my Xcode from 9.2 to 9.3. But unfortunately, all iPhone simulators are no longer visible.
How do I solve this problem?
Upvotes: 1
Views: 9985
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.
Upvotes: 3
Reputation: 7222
Lowering down the deployment target in the build settings did the trick for me.
Upvotes: 1
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
Reputation: 726
I have another solution, You can also perform these steps, to resolve this problem:
Step 1: Select Preferences... from menu
Step 2: Select locations from top tab
Step 3: select xcode which you use.
If Simulator doesn't show after this process then Quit XCode and then reopen again.
Upvotes: 1
Reputation: 3614
Also you have two options as shown in your screenshot.
Try them out
Upvotes: 1
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