Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari - iPhone simulator debugging (via "develop") not showing anymore

Tags:

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...)

enter image description here

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...

like image 257
Yaniv Efraim Avatar asked Jan 22 '14 08:01

Yaniv Efraim


People also ask

How do I debug Safari in iPhone simulator?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.

How do you add a simulator to Safari?

E. In the Safari on your Mac, on the Safari menu bar, choose the "Develop" menu. Scroll to the iOS Simulator option.


1 Answers

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.

like image 55
Timo Avatar answered Sep 21 '22 17:09

Timo