-
Notifications
You must be signed in to change notification settings - Fork 221
Windows not able to inspect iOS 11 #79
Comments
I finally got it to work with a lot of failed attempts. Here were my steps for any future users attempting to do the same. I am running Windows 10 with iOS 11 on my device.
Now is the part where I try to make the edit for iOS 11.
Now try to run again:
I also had to unplug and re-plug my iPad before this would work. It appeared Windows hadn't yet configured the drivers properly. I can confirm that I also see the repeated error message mentioned by @taneltm above. Seeing this message may be a good confirmation that things should be working.
|
@bdice this worked great! We should merge that 1.8v in! |
@bdice @mohamedmansour Any of you interested in becoming maintainer? I simply don't have the time. My thinking is that a similar approach on Windows to how do we install |
@bdice you are a lifesaver! |
Many thanks @bdice ! |
@taneltm @bdice @HaykoKoryun @fadupla PRs for updating this are more than welcome. I don't have the bandwidth these days! |
@auchenberg @bdice @taneltm I have a PR ready: |
I'm slightly confused as I have the exact same symptoms on Ubuntu. However, for Mac/Linux the code uses the installed binary and not the one shipped with vs-libimobile. else if (os.platform() === 'darwin' || os.platform() === 'linux') {
which('ios_webkit_debug_proxy', function (err, resolvedPath) {
if (err) {
reject('ios_webkit_debug_proxy not found. Please install ios_webkit_debug_proxy (https://github.com/google/ios-webkit-debug-proxy)');
}
else {
resolve(resolvedPath);
}
});
} If In understand @bdice correctly the issue was resolved by using a more recent version of the ios_webkit_debug_proxy binary. But I have the most recent one installed and it successfully connects to my iPad when used directly.
However, running the adapter I get the exact symptoms described here
|
If you're behind a company proxy then in adapter.js and iosAdapter.js change request(this._url) to request({'url':this._url, 'proxy': ''} |
Thanks, @bdice! Your receipt still works in 2018. :)
This error message caused by vs-libimobile package that provides an outdated version of libimobiledevice library. I downloaded latest version from https://www.nuget.org/packages/libimobiledevice/ and extracted it to the root of a project. I also changed path to
It prevents the error message. It is also safe to remove vs-libimobile from dependencies. |
@generalov Great insight. We need to find a way to download |
Hi @auchenberg, I'm not happy with external dependencies like scoop, Nuget and hardcoded paths to executables. It would be nice to have dependencies installed locally using npm package manager. If npm does not provide enough functionality then what's about selenium-standalone's approach? It provides |
@generalov I'm not a big fan either, but I don't want to distribute binaries with this project. On Linux/MacOS we leverage existing package managers where the binaries for dependencies are published and it works great. Windows is the troublesome platform, and we had |
I'm following the instructions on the readme and here but still unable to debug chrome on my iPad. |
Sorry, the problem was that I needed to add the relevant port to chrome dev tools... |
@generalov I know it's been a while but what release did you download to get the .exe? Between the nupkg and release .zips I can't find anything I can download that has |
@B-Stewart download the That said, I'm having difficulties getting it to work. I modified
Edit |
The repository mentioned, https://github.com/google/ios-webkit-debug-proxy/ , has no file named ios_webkit_debug_proxy.exe, yet we are instructed to change line 132 of iosAdapter.js to point to it's location. Am I missing something, or has this repository changed, or are these bad instructions? |
@acalvino4 Try downloading a release with a binary, it's not in the repository itself: https://github.com/google/ios-webkit-debug-proxy/releases |
Alright, found the right release (1.8.3) and followed all instructions on this thread (including shutting down all terminals and browsers, and unplugging/replugging my device as some have suggested), but I'm still getting the same error, and chrome://inspect/#devices is not showing any remote target (yes, I've added localhost:9000 to Discover network targets > Configure). The only thing I notice that is different on my system from the solution posted is that the install path differs slightly from what @bdice has:
To install I had done: scoop bucket add extras all in Administrator Power Shell, with success messages, as directed here. |
I was able to get it running to the point where my remote target shows up in DevTools (without having to perform @bdice's workaround), but when I click inspect nothing shows up in the inspector window. Powershell just keeps repeating the same messages he mentioned at the bottom of his post. This is on an 8 Plus running iOS 12.2. |
I have the same problem, when I click inspect nothing shows up in the inspector window. |
anyone? I'm using X and win 10, but like @MrBearTW, i can see device and tabs, but without content |
I Have the same problem as @dzbiku and @MrBearTW. Maybe it's because the protocols are not up to date with recent ios versions? I can see that in the protocols folders we only have ios, ios8 and ios9, with ios 9 file as default value. Can you please provide insights to adapt this to latest ios versions? |
I have the same as @MrBearTW , @dzbiku and @fsiliadin . Changing the path doesn't fix it. |
unfortunately I have the same issue. Following the instructions above didn't solve my problem. |
I am getting the following error as documented by @generalov above.
I understand that I need to install the libimobiledevice |
@mikejpoole I can't get this to work at the moment but worth pointing out that when I did have it up and running, getting this error was an indication that the device was connected successfully, if I didn't get that error it meant it wasn't working! So worth checking your browser for the device despite the error. |
Thanks @mafsays . I did not realise that it was not an error message. I am now getting a "Unhandled promise rejection" errors. Is that also what is not working for you at the moment. I believe that is being dealt with in issue 138 with some PR's waiting to be merged to hopefully fix that. |
also try |
This issue has been opened two years ago, for IOS 11. Two years later, and two IOS versions later, the issue has still not been resolved. |
The instructions provided by @bdice worked a charm in iOS 11, but updating to 13.1.3 causes the same errors as encountered by the OP |
I really appreciate the contribution of the library and the contributors. However, it has been two weeks since I wrote #79 (comment), and two years since this issue was originally opened. Currently
We must update documentation and notify users about this limitation. I'll submit a suggestion. |
@carpben This project is currently unmaintained. If you are interested in becoming an maintainer and taking a lead on this effort let me know. |
Thanks @auchenberg, Unfortunately, proffesionally I'm not the right person for this mission. I don't have experience or expertise in the relevant fields. |
Just to make sure I understand - this package is not working (even with @bdice workaround) with iOS 12+ ? |
Yes @bmtheo, this is correct. |
Note: I didn't have to do any of the extra steps from @bdice in #79 (comment) to get it working for iOS 11. I just following the instructions on the readme, and it worked right away. |
I followed the instructions here https://washamdev.com/debug-a-website-in-ios-safari-on-windows/ including the ones for ios 11 and with itunes opened and it works with my ipad on ios 14 (!) |
Can somebody please walk me through the ios11 one. I got lost at the part when he explained about extracting and editing the files. Seriously, its too complicated. Need Your Help ! ASAP.. SOS |
Hi, I'm stuck at step 6 of the above instruction webpage, |
This project is now super-seeded by https://inspect.dev/ – a new developer tool for macOS and Windows to inspect and debug your web apps and websites in Safari and WebViews on iOS devices. RemoteDebug iOS WebKit Adapter is not proactively maintained or extended. |
The issue is of course that the bundled ios-webkit- debug-proxy-win32 doesn't support it.
I installed this https://github.com/google/ios-webkit-debug-proxy then modified iosAdapter.js to use that instead of the bundled version under vs-libimobile - that way I was able to get the debugging to work!
But remotedebug_ios_webkit_adapter keeps logging an error while getting the device version:
I'm guessing it's unable to get the version of the device from
node_modules/vs-libimobile/lib/ideviceinfo.exe
, when I run that directly, it says:The text was updated successfully, but these errors were encountered: