-
Notifications
You must be signed in to change notification settings - Fork 470
"No device found" when running latest ios-webkit-debug-proxy on Windows #351
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
Comments
hey @stefannesic, do you build with mingw? on windows you don't need usbmuxd, make sure you have itunes running (required software name should be Apple Mobile Device Support and Apple Application Support applications) |
hey @artygus thanks for the quick response.
|
@stefannesic libusbmuxd should be enough to compile libimobiledevice, the error suggests it can't connect to usbmuxd daemon (which might be provided via itunes), can you verify you can connect to 127.0.0.1:27015 from cygwin? I recommend you checking libimobiledevice issues on github, maybe other users had faced similar issues |
While I try to dig deeper into the cause of the problem on my side, here's some results... Connection to 127.0.0.1:27015 from cygwin
Also, outside of cygwin on cmd... |
can't help you with libimobiledevice debugging, but I think I'll craft a windows beta build with recent changes over the weekend, because work on getting rid of libimobiledevice is stalling |
ok are you sure it's a libimobiledevice issue? I'll debug all day today and see. Thanks, a beta build would be welcome! |
if libimobiledevice binaries don't work it's 100% problem with *imobiledevice libs, which I infer from OP
|
Also, this one looks very suspicious
do you have any antivirus software or something else that might block cygwin accessing network? |
yes, normally I have a anti-virus and proxy on my work computer, but I am using a 4G hotspot to bypass most of these issues. |
I'll re-test the latest release with the iOS 13 bug to see if the issue is from my work environment |
@artygus Just an update! I checked and the 1.85 release works normally on my computer when I run it:
I compiled in the following order: When I run the generate ios-webkit-debug-proxy.exe, same error:
How do you normally compile the Windows binaries? In Cygwin, do you just Also, in the execution of the 1.85 ios-debug-webkit-proxy, the npm package vs-libimobile is used. Can this be used to compile the latest commit instead of compiling three libraries? |
|
I am running both .exe files in the same directory on the same computer, but the one I compiled has an error. You mentioned that it's a libusbmuxd issue, but I don't understand why I need to test idevice_id.exe if the official version of ios-debug-webkit-proxy works. |
at the moment iwdp depends on libimobiledevice and friends (libplist, libusbmuxd) to initiate handshake and connect to usbmuxd daemon. idevice_id is the simplest program that does exactly this, gets list of devices from usbmuxd and does handshake to read device name. If it doesn't work, don't expect iwdp to work either |
a little research shows that remotedebug-debug-ios-webkit-adapte requires vs-libimobile to get os version from connected device, it was not possible to get it using only with iwdp before version 1.8.5 |
Does this handshake occur on compilation or execution? Does this mean that the 1.85 release of iwdp, which executes properly, doesn't initiate the handshake and connect to the usbmuxd daemon? Since, I don't believe I call these "friends" during the execution of 1.85. I am trying to understand... is my error in the compilation of the dependencies making the executable of iwdp disfunction? |
@stefannesic I published new release with windows binaries https://github.com/google/ios-webkit-debug-proxy/releases/tag/v1.8.6, please check out if it works for you |
It does, you can see it if you look at source code. I believe there's something wrong with your build environment, unfortunately I can't help you with this |
It works and connects to the iPhone!!! Unfortunately, I'm getting the same issue with remotedebug, is it still an iwdp problem? |
Thanks so much for the release!! I'm still curious to understand why it wasn't working for me.. Following this logic of build environment issues, why does the official release version execute the handshake properly in the same environment, but my own cygwin build doesn't ? |
@stefannesic I have no answers for this, start with making idevice_id work, libimobiledevice has larger community I hope you'll be able to find answers there |
I have installed the 1.85 release which seems to work, but there's the iOS 13 issue where the device is not detected properly in Chrome which was fixed in this merge
Therefore, I am compiling the Windows binaries myself and I am trying to use remotedebug-ios-webkit-adapter with the latest version of ios-webkit-debug-proxy on Windows. I have the iPhone plugged in and have accepted the connection with iTunes.
ios_webkit_debug_proxy.exe execution:
remotedebug-ios-webkit-adapter executes properly with
npm start
and it is listening on port 9000, but nothing is detected.I installed usbmuxd with the make files and it might not be running
usbmuxd apparently runs automatically after
make install
.usbmuxd/src/usbmuxd.exe execution:
usbmuxd: ERROR: Child process exited with error 1, check syslog for messages.
I don't have more information in syslog with cygwin.
idevice_id returns this:
Can anyone please help me figure out why remotedebug-ios-webkit-adapter is not detecting properly and why ios-webkit-debug-proxy and usbmuxd are not executing? Thanks in advance.
The text was updated successfully, but these errors were encountered: