-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IWDP does not detect webviews anymore on iOS 11.3 Simulator (Xcode 9.3-beta3) #250
Comments
hi @mykola-mokhnach thanks for the report, I'll take a look. the bad pard is I need to update OS to install new Xcode, it would take some time |
xcode 9.3 is released, experiencing the same issue. |
Upgraded to IOS on the device 11.03 and xocde 9.2 and facing below issue. Unable to connect to iPhone (00000000000000blah)
tried to reinstall libimobiledevice does not seem to work |
hi @skansar the issue is not related to this thread please open another one, what does ios_webkit_debug_proxy -d show, any output? do you see webviews in Safari browser under Developer tab? |
I confirm the issue is there. Looks like since XCode 9.3.3 there's a unix socket connection for each webinsepctord of simulator. The question is how to detect unix socket locations. One way is lsof (somewhat like appium/appium-ios-simulator#145), but I hope there's a better a way |
Has there been any progress made on this? |
all the updates will be posted in this thread, also everybody is welcome to contribute |
I did manage to get it working once, but haven't been able to since. One thing to note is that I can't see the app in Safari Inspector, is this an indication that it's not an issue with IWDP? If not where is the issue? |
Simulators from Xcode 9.3-beta3 and up are only inspectable in safari technology preview for now AFAIK. Just to clarify the issue is only about simulators and Xcode 9.3-beta3 (and up) |
The same issue: |
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. |
Hi, is there any progress? |
And iOS 12.2 simulator is not support, if the lib can |
there's an option to provide simulator socket to iwdp since 1.8.5 |
Mac OS 10.13.3, Xcode 9.3-beta3
ios_webkit_debug_proxy
in terminalActual 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
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 oflaunchd_sim
process so far:/private/tmp/com.apple.launchd.r4UKA9gcsI/com.apple.webinspectord_sim.socket
The text was updated successfully, but these errors were encountered: