Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari Web Inspector not working with iOS Simulator

I am using Safari v7.1 and iOS Simulator v7.1 running ios v7.

I have enabled all the options in Mobile Safari in the iOS simulator as well as in Safari browser on Mac (v10.9.5) as per this url: http://webdesign.tutsplus.com/articles/quick-tip-using-web-inspector-to-debug-mobile-safari--webdesign-8787

However when I run any hybrid app in Simulator or open a webpage in mobile Safari, I dont see the webpage in Safari Web inspector. The Mac Safari option "Develop -> iOS Simulator" shows "No Inspectable application" to debug.

The same works fine if I connect an actual iPhone.

Any pointers are welcome!

like image 329
Novice Avatar asked Sep 29 '22 10:09

Novice


1 Answers

From a WWDC 2014 session 512 "web_inspector_and_modern_javascript", you have to create a .entitlements file with these keys. It's about at 22:48 min in the video.

Can't find in Apple's Safari Web Inspector Guide though. Just weird... :(

enter image description here

like image 163
Hlung Avatar answered Oct 05 '22 06:10

Hlung