Xcode project not showing list of simulators

IosXcodexcode6.1

Ios Problem Overview


I open my project in Xcode 6.1. When I try to run the project, the button is grayed out. When I try to go to Product > Clean, the option is grayed out. When I look at the list of simulators, all I get is My Mac instead of the usually iOS Device. How do I get my simulators to come back?

Ios Solutions


Solution 1 - Ios

Make sure that the project you are trying to run has deployment target equal to or less then the SDK version of your Xcode. In my case I tried to run a project which was built using iOS8.4 but I have Xcode6.1 with SDK version 8.1

I changed the deployment target to 8.1 and it start showing me simulators.

P.S before doing this, make sure that your code and external libraries are compatible with your new deployment target, else you have to update your Xcode.

Solution 2 - Ios

Try This, It worked like a charm! for me,

Follow below step

  1. Clean Derived Data as show below,

    rm -rf ~/Library/Developer/Xcode/DerivedData/

    OR

    Xcode---> Preferences--->Location--->Derived Data

Derived Data

  1. In Deployment Info change Deployment Target

It's equal to or less then the SDK version of Xcode

enter image description here

  1. Quit Xcode

enter image description here

  1. Reopen Xcode you will see list of simulators

enter image description here

Hope this answer will help for someone.

Solution 3 - Ios

I could not find any solution that would fix my issue. All simulators were there for all projects but the one that I needed them.

Solution:

Build Settings -> Architectures -> Supported Platforms:

> changed from iphoneos to iOS

Solution 4 - Ios

Click on the project name (Right to the Run button). Three options will appear.

  1. Edit scheme
  2. New scheme
  3. Manage scheme

You can click on "New scheme" and then click on "OK" in popup window.

You will have simulators list back.

Solution 5 - Ios

Also check the iOS Deployment Target under build settings. I was using Xcode 6.3 while the deployment target was set to iOS 8.4. I got the list of simulators as soon as I set it to iOS 8.3 enter image description here

Solution 6 - Ios

Cmd below solved my problem:

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

In my case, I upgraded to Xcode 8 and downloaded another version 7.3.1 later (renamed it to "Xcode 7.3.1"), then cannot get the simulator list in Xcode 8.

Solution 7 - Ios

In my case i'd accidentally deleted ios devices in system Finder -> Library->Devices->Core simulator

So, the simulators are not listed in the Xcode project except ios device.

I solved this by adding ios simuulators from Xcode->Window->Devices->Add simulators

enter image description here

Hope it'll help someone.

Solution 8 - Ios

For those coming from Unity, even if you manage to make them show up (by changing Build Settings > Supported Platforms to iOS it would not run in the simulator.

Instead, you need to select this Simulator SDK :

enter image description here

And make sure something other than Metal exist.

enter image description here

Then the simulator device list will be there from start.

Solution 9 - Ios

check in your project's build settings , make certain you select Latest iOS (iOS 8.1).

Solution 10 - Ios

Solution: Build Settings -> Architectures -> Supported Platforms: changed from iphoneos to iOS

Confirmed works in Xcode Version 9.0 (9A235)

Solution 11 - Ios

If you renamed Xcode.app since first launch, the iOS Simulator becomes unavailable. This is mentioned in the Xcode 6.1 Release Notes:

> Renaming Xcode.app after running any of the Xcode tools in that bundle > may cause iOS Simulator to be no longer be available. Either rename > Xcode.app back to what it was when first launched or restart your Mac. > (16646772)

Solution 12 - Ios

Go to Window then Devices and press the plus button at the bottom left to add a device and select the simulator which are required.This worked for me.

Solution 13 - Ios

Sometimes the simulator you have might not be the simulator specified in Build Settings. Make sure that simulator package is downloaded for your IOS Deployment Target

Solution 14 - Ios

Deployment Target version change to a lower one helped for me:

Window -> Devices and Simulators -> Simulators. Check what are the latest versions of existing simulators.

simulators

Then go to your project's Target. Under Deployment Info, change Target to the version you saw the latest within your simulators. Mine was set to iOS 13.6 when the simulator was iOS 13.5 only.

deployment-target

Solution 15 - Ios

If Your problem is due to multiple (versions of) xcode

Then follow following steps

1. Cleaning Derived Data Go to Xcode preferences -> Select location tab -> select little gray arrow on /Users/apple/Library/Developer/Xcode/DerivedData. You will be redirect to folder From there select Derived Data folder and Delete.
enter image description here

2. Completely Quite The Xcode and reopen

This will solve your problem. Happy coding :)

Solution 16 - Ios

Just check your Deployment Target where XCode support it or not.

Solution 17 - Ios

Looks like Xcode hides that menu when the window is a certain size. You have to make your window quite large before it comes back.

Solution 18 - Ios

Same Problem happened with me.. When I updated from Xcode 8 Beta 3 to Xcode 8 Beta 4, But I resolved it by this way..

  1. Go to Window -> Devices

you can see all Devices and Simulators here

  1. Just right click on any device or simulator
  2. Tick on Show in Destination Menu (Even it is already checked, then click it twice, It may be refresh things)

If above does not work.. as if you do not see any simulators, then..

  1. Change(degrade) the minimum deployment target of app to 8.3(not necessary)
  2. restart xcode

It worked for me.. Hope will be helpful for someone later..

Solution 19 - Ios

I still had my iOS Device, but all my simulators were gone.

I tried every suggested solution I could find on stackoverflow.

Eventually, I deleted the Xcode app and downloaded it again from the App Store. After installation, the simulators were back.

Solution 20 - Ios

Quite Xcode and Open it again, it will show. For me it's worked.

Solution 21 - Ios

Small but a effective solution. In my case i updated to my xcode to 9.2 version and simulators disappeared.

I found this solution and it worked for me and for others also.

**

> Just quit your xcode and restart again. You will have simulators.

**

Solution 22 - Ios

If you just updated Xcode, you may need to restart your computer before simulators become available again.

Solution 23 - Ios

If you updated Xcode to 12.1. Completely quit Xcode and it will install components.

enter image description here

Solution 24 - Ios

I ran into another situation where this can occur. I work with a team we use Xcode server for continuous integration. The server wasn't seeing any simulators, but only for one project. I eventually determined that this was due to the fact that the version of Xcode on our server was one release earlier, and the Xcode project was set to build to the newest version available. Simply updating Xcode solved the issue for us.

Solution 25 - Ios

I had this happen to me after an update to a new Xcode. Running

xcode-select --install

fixed it for me.

Solution 26 - Ios

Just go to Xcode -> Window -> Devices

Click + at the bottom left

Add your new Simulator

Solution 27 - Ios

I just needed a good, old fashioned restart the computer. When uninstalling and reinstalling XCode didn't do the job, I restarted out of pure frustration....lo and behold! After a restart, everything was as it should be.

Solution 28 - Ios

After upgrading to Xcode 10.3, the list of simulators was empty. I rebooted and it was resolved.

This doesn't necessarily answer the OP's specific question, but this was the first place I ended up in researching my Xcode 10.3 upgrade issue.

Solution 29 - Ios

Lower the Deployment Target version. For example you have set the target as iOS 13.4 but your Xcode version is lower and there is no iOS 13.4 installed simulator.

Solution 30 - Ios

I had the same issue, generated from an imported project, the project had 10.3 as deployment target and I only had 10.0 installed, changing the deployment target to 10.0 solved my issues.

Solution 31 - Ios

For anyone struggling with this, I tried the mentioned options without success. Turns out all I needed to do was just quit and relaunch Xcode. Simple things can be annoying sometimes.

Solution 32 - Ios

In my case I had created a static library target for tvOS in Xcode 8.3.3, and the tvOS simulator was not showing up in the list. Eventually found out that TARGETED_DEVICE_FAMILY in the Build Settings was set to 1,2 instead of 3. Leaving this here incase anyone else encounters the same problem.

Solution 33 - Ios

I simply Renamed my Xcode file in Application folder to something else and renamed it back to Xcode.

Worked

Solution 34 - Ios

Install iOS Simulator if you're missing one.

Click here to see how.

Solution 35 - Ios

Nothing worked for me, except

gem install snapshot

fastlane snapshot reset_simulators

Solution 36 - Ios

In my case I thought I created a new project using the iOS Framework template, but I inadvertently selected the macOS Framework template instead. This was preventing me from building the project for iPhone simulators. Deleting the project and recreating it, this time selecting the iOS Framework template, fixed the problem.

Solution 37 - Ios

In my case the problem was in Architectures parameter. It was set to arm64 I just changed the value to Standard Architectures (arm64, armv7) - $(ARCHS_STANDARD) Then pod install enter image description here

Solution 38 - Ios

Check if in the app store under xcode it says GET instead of installed, delete your current version and get the new one

Solution 39 - Ios

I encountered this problem when I update my xcode to 8.2beta (with the app name xcode-beta.app), I found the answer above by Jeremy Huddleston Sequoia and tried to rename xcode-beta.app to xcode.app, it worked. I guess the name should be xcode.app to use the simulators, even if you didn't changed the name by yourself when you download the beta one.

Solution 40 - Ios

Nothing helped me so I downloaded the simulators for my deployment Target.

  • Beside play button and target name where simulator is chosen,
  • Click the simulator to see the simulator list window.
  • Click on the last button is "Download Simulators"
  • Download the simulators for your deployment Target

You can check Deployment target :

  • Below play button 1st tab i.e. Project navigator, Click it and click on Project name
  • Select your target > General tab > Deployment Info > Deployment target.

Hope it helps

Solution 41 - Ios

After trying a lot of suggestions, the below command solved the issue for me.

Try to restart the simulator service:

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKatedral PillonView Question on Stackoverflow
Solution 1 - IosAnsView Answer on Stackoverflow
Solution 2 - IosJaywant KhedkarView Answer on Stackoverflow
Solution 3 - IosTumataView Answer on Stackoverflow
Solution 4 - IosAkshit ZaveriView Answer on Stackoverflow
Solution 5 - IosshshnkView Answer on Stackoverflow
Solution 6 - IosKjulyView Answer on Stackoverflow
Solution 7 - IosNazikView Answer on Stackoverflow
Solution 8 - Ios5argonView Answer on Stackoverflow
Solution 9 - IosYvesLeBorgView Answer on Stackoverflow
Solution 10 - IosxuzepeiView Answer on Stackoverflow
Solution 11 - IosJeremy Huddleston SequoiaView Answer on Stackoverflow
Solution 12 - IosbittuView Answer on Stackoverflow
Solution 13 - IosTarunView Answer on Stackoverflow
Solution 14 - IosliudasbarView Answer on Stackoverflow
Solution 15 - IosdipView Answer on Stackoverflow
Solution 16 - IosRahul PanzadeView Answer on Stackoverflow
Solution 17 - IosMasoud Al-HelouView Answer on Stackoverflow
Solution 18 - IosKautsya KanuView Answer on Stackoverflow
Solution 19 - IosOscarWyckView Answer on Stackoverflow
Solution 20 - IosSanoj KashyapView Answer on Stackoverflow
Solution 21 - IosAklesh RathaurView Answer on Stackoverflow
Solution 22 - IosScottyBladesView Answer on Stackoverflow
Solution 23 - IosirfanView Answer on Stackoverflow
Solution 24 - IosJamesView Answer on Stackoverflow
Solution 25 - IosslemkeView Answer on Stackoverflow
Solution 26 - Iosngoctung.nguyen2408View Answer on Stackoverflow
Solution 27 - IosMizmorView Answer on Stackoverflow
Solution 28 - IosPJSimonView Answer on Stackoverflow
Solution 29 - IosOnur TunaView Answer on Stackoverflow
Solution 30 - IosAhmed AwadView Answer on Stackoverflow
Solution 31 - Iosuser3752049View Answer on Stackoverflow
Solution 32 - IosSean Inge AsbjørnsenView Answer on Stackoverflow
Solution 33 - IosAzimView Answer on Stackoverflow
Solution 34 - IosTilAyeView Answer on Stackoverflow
Solution 35 - IosJineshView Answer on Stackoverflow
Solution 36 - IosshoeView Answer on Stackoverflow
Solution 37 - IosRadomir EpurView Answer on Stackoverflow
Solution 38 - IospflousView Answer on Stackoverflow
Solution 39 - IosZoe XiongView Answer on Stackoverflow
Solution 40 - IosHimani C.View Answer on Stackoverflow
Solution 41 - IosKeshavView Answer on Stackoverflow