21

I followed the steps to set up debugging webpage on iOS. It worked. However I see an issue with the inspector - it doesn't let me check the DOM and corresponding CSS. Anyone else has this issue? (Exact same issue when debugging using the simulator.)

Screenshot: http://screencast.com/t/E4fxPQwk14

Resource: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/DebuggingSafarioniPhoneContent/DebuggingSafarioniPhoneContent.html

Thanks!

UPDATE: WebKit nightly works. Thank you Timothy Hatcher!

Anna
  • 327
  • 1
  • 3
  • 9

2 Answers2

34

You need to use a WebKit nightly, Safari 6.1 or Mavericks to use Web Inspector with iOS 7.

Timothy Hatcher
  • 356
  • 3
  • 2
  • Safari 6.1 doesn't seem to be able to breakpoint a js app on the iPhone. – adib Oct 18 '13 at 06:04
  • 1
    OS X 10.7 n not supporter. Nightly builds of WebKit are not supported on OS X 10.7 at this time. – Anja Ishmukhametova Oct 31 '13 at 11:16
  • In case it helps someone: It took me a while to find a nightly that worked on my OS X 10.8.5 (Mountain Lion). Finally I'm using this one successfully: http://builds.nightly.webkit.org/files/trunk/mac/WebKit-SVN-r163565.dmg – rbarriuso Aug 23 '14 at 20:51
1

If you don't have access to Mavericks, You can also use Chrome devtools via proxy.

Debug iOS 6+7 Mobile Safari using the Chrome DevTools

Community
  • 1
  • 1
BenG
  • 1,756
  • 15
  • 17