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 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.
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.
2. Completely Quite The Xcode and reopen
This will solve your problem. Happy coding :)
Just go to Xcode -> Window -> Devices
Click + at the bottom left
Add your new Simulator
Click on the project name (Right to the Run button). Three options will appear.
You can click on "New scheme" and then click on "OK" in popup window.
You will have simulators list back.
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.
**
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.