Safari 11 no longer supports WKWebView inspection in Xcode 9's iOS Simulator?

I have the Web Inspector turned on in the iOS Simulator that comes with Xcode 9, but Safari 11 refuses to acknowledge its existence in the Develop menu. Has anyone else run into this problem? If so, did you have a solution? And if so, then what did you do to get this to work? This used to work back in earlier versions of Safari and Xcode.

Accepted Reply

Figured it out. If you launch Simulator after Safari, then Safari won't recognize Simulator. But it works if you launch Simulator before Safari.

Replies

Figured it out. If you launch Simulator after Safari, then Safari won't recognize Simulator. But it works if you launch Simulator before Safari.

Figured it out. If you launch Simulator after Safari, then Safari won't recognize Simulator. But it works if you launch Simulator before Safari.

For new version of xcode you need safari technology preview (https://developer.apple.com/safari/technology-preview/)