I am using iPhone simulator to run a UIWebview, and Safari browser (on my mac) in order to debug the js / html / css code (via "develop" menu -> iPhone Simulator -> choosing my webview).
Yestarday, the iPhone-simulator option disappeared from my "develop" menu: (as you can see, the "iphone-simulator" is missing here (it is opened in the background and working...)
Any idea?
Edit: I am using iOS 7 iPhone simulator + Safari 7
Edit 2: Just tried opening a website on iphone-simulator's Safari browser (in addition to the UIWebview). No luck here as well...
I restarted my simulator from Hardware->Restart and after that simulator option came in Safari Develop Menu.
Hope it will save someone's time.
I also faced the same issue. Solution was, closed Safari browser and Simulator and launched again. It fixed my problem. Restarting of my Mac was not required. Hope it will save someone's time.
Environment was as below:
Sometimes running your app on different iOS version helps.
If you have tried all fixes and it did not fixed your problem. Then go for below steps 1. UnInstall Xcode
These steps fixed this problem for me, Hopefully it will fix someone's else as well. Good Luck :)
Sometimes it is necessary to restart Safari to make it notice new simulator, unfortunately.
i0S 11, Safari 11
I had exactly the same problem and I could not figure out how to solve it. Then I remembered that I actually have Safari Technology Preview installed on my Mac. And bang. The simulator device is visible in the Develop menu of the Technology Preview version.