ios-webkit-debug-proxy: IWDP does not detect webviews anymore on iOS 11.3 Simulator (Xcode 9.3-beta3)
Mac OS 10.13.3, Xcode 9.3-beta3
- Install IWDP with brew
- Start iPhoneX 11.3 Simulator and open Safari in it
- Start
ios_webkit_debug_proxy
in terminal
Actual result: No devices are shown in the list
Expected device: The simulator should be shown in the list. On the same system with Xcode 9.2 the output is
Listing devices on :9221
Connected :9222 to SIMULATOR (SIMULATOR)
It might be that Apple has deprecated debugging via TCP port in the recent Xcode SDK and it is only available via Unix socket (probably, because this is the only thing I can se in lsof
output of launchd_sim
process so far: /private/tmp/com.apple.launchd.r4UKA9gcsI/com.apple.webinspectord_sim.socket
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 7
- Comments: 15
Commits related to this issue
- added option to customize simulator webinspector socket address partly addresses #250 — committed to google/ios-webkit-debug-proxy by artygus 5 years ago
I’ve had some success in finding the unix socket via the method described in appium/appium-ios-simulator#145, then piping that socket over TCP to port 27753, which is where the proxy expects to find a connection. Once I’ve done that the proxy finds the simulator fine and I can open the debugger. (I’m not able to send commands over the console, but I just tested with iOS 10 and it doesn’t work there either, so there must be some other issue going on)
I don’t have any good suggestions on avoiding lsof, though.
And iOS 12.2 simulator is not support, if the lib can
t support I think you should describe in README.md to make all user know "iOS 10+
s simulator not support "