-
Notifications
You must be signed in to change notification settings - Fork 66
Valence doesn't work for connected iOS 9 devices #199
Comments
Let's check a few more things.
|
With available I meant enabled, sry for that. So yes the inspector is enabled. And yes I have an open site. |
There must be some error messages in the Browser Cnsole (Ctrl-Shift-J) after this. Could you paste them here? |
Here it is:
|
@past, is that an error you recall from working on the Windows setup? |
I'm seeing exactly the same problem Win 7 x64 with an iPad and FF 41, BTW as this is a developer tool, have you considered showing these logs in the WebIDE window? |
I tried yet another reboot and WebIDE under FF 41 worked again |
I have seen the "Could not set socket to non-blocking" messages in the distant past, but never figured out what caused them and they were always intermittent. |
Okay, I am also seeing some intermittent behavior with an iOS 9 device here. Looking at the recent commits such as in google/ios-webkit-debug-proxy@fec01df, we may need to update some libraries for this to work well with iOS 9, as I was not always able to connect to the device at all. Having said that, there is no reason given for why they needed libplist 1.12 suddenly or what issues it solves other than "for iOS9". Even when I did connect, the tabs usually were not shown. If I switch between tabs, I get messages like
which is the same as shown in google/ios-webkit-debug-proxy#116. At first glance, this suggests to me Apple may have changed to put each tab in a separate process in iOS 9 or something like this, which could require updates to the proxy code. More investigation is needed here. |
Sorry, I failed to mention I experienced the same problem using 8.4.1 |
@zspitzer Are you able to connect to the device (blue phone symbol shown), but then see no tabs listed, or does the connection step fail for you as well? Do you have the same Browser Console logs as @Chris2011 pasted above? |
I get exactly the same logs, it connects briefly, I see the blue symbol, then it goes back to Select runtime (more feedback would be nice). This problem is intermittent, but I am experiencing it now, happy to do any testing to help :) |
with net logging enabled in the browser console, I'm seeing a XHR to |
one other thing, it doesn't work thru a USB hub, remove the USB hub (same use port) and it works fine |
Are there any more updates on this issues. I am also seeing some intermittent behavior with an iOS 9 device. Same behavior as Jsryans explained in his post. Any fix for this ? valence:PowerShell -Command ps ios-webkit-debug-proxy: W ios-proxy.js:200 Could not set socket to non-blocking: No error ios-proxy.js:137 ios-proxy.js:137 Could not set socket to non-blocking: No error ios-proxy.js:137 ios-proxy.js:137 |
Right now I think we just need someone to dive in and spot what's going wrong. It's hard to do with iOS, though, since we're reverse engineering undocumented things in some cases. I'm hopeful this can happen soonish. |
This is still unsolved for iOS 9.x AFAIK. I believe it requires reverse engineering some changes to the undocumented protocol iOS devices use, which could take a lot of time. I am not sure when we'll be able to focus on this, but definitely we do want to fix it. |
@effetb did your iOS device ask you to trust your computer? |
@effetb Do you have iTunes installed on Windows? Some support libraries from iTunes are needed on Windows. |
Any news here? Still happen with an iPad with 9.3... |
Not working with 9.3.1 on my iphone 6s or my 9.3.1 Ipad |
Same issue with me
I tried an earlier version of FF (38), but that doesn't seem to make a difference. |
I have a new desktop running Win 10 pro X64, I can see Safari tabs on my iPad running 9.3.1, but I can't see access my WebViews under Firefox 3.0 or Chrome 49, is this something to do with both of those browser wrappers switching to WKWebView? |
that sucks, the WebIDE UI needs updating to reflect this? |
Mmm, perhaps, but let's discuss this in a separate issue or bug. The current name is more about the technical possibility of connecting to web views, even if it means only apps built locally. As in, people developing the Firefox for iOS app itself, say. Anyway, I see how it's not very clear at the moment. |
@jryans is there any info that you need, or anything that I can do to help you debug? |
I think at this point someone needs to dive in and find the root cause. I would suspect it's an issue in the upstream libraries we used to connect to iOS on Windows. It may already be fixed in a existing release and we may need to update the version we use. |
I've merged #221. Can someone with a Windows box give the new master a spin and see if it's any better? |
In which version will it be available? |
We want to update the iOS proxy for the other operating systems as well, and then we'll push a new version of the add-on. Firefox should pick that up automatically; it's not tied to FF releases. |
Filed issue #222 to update the other proxies and push a new version of the add-on. |
@jimblandy, I don't think we want to close this issue yet? It's probably best to wait until we have a version available for testing, and then get some of the people here to check it out first. It could be that we haven't fixed the problem. |
Hi, this is not working yet for Valence version 0.3.5 version. At least not for me on Firefox 48.02. |
Hi, i'm on same things. Valence 0.3.5 FF 48.02 and iOS 9.3.5 and it's not working. I've just update my iOS and i've just tride WebIDE last few days (before this update) and it's worked... |
I've just restart my iOS and it's worked like a charm...;) |
:( sorry not exactly i've lost again tabs list and no way...? |
Still the same problem with 49.0.1 and an iPad with 9.3.3, but no error inside the console. And my device will not shown in the WebIDE. Only: Can't see your device? But Web information (Web Inspector) is enabled on the iPad and the device is connected to my computer and I can navigate through it via file explorer. |
I got this to work just fine on a updated iOS device with Windows 10. Wrote a guide for what I did here: TLDR, use Chrome Desktop in WebIDE and not the Safari button |
@SyntaxWarrior Nice. I tried selecting "Chrome Desktop" when using Mac, and it didn't work. I'm also confirming it doesn't work with IOS10 :( |
@SyntaxWarrior Thank you very much, it works ! |
With FF 51.0a2 in Ubuntu 16.10 and iOS 9.0.2, I'm seeing this:
Seems the same error as google/ios-webkit-debug-proxy#142 or google/ios-webkit-debug-proxy#38. |
to make ios-webkit-debug-proxy work with iOS 10, you need to build libimobiedevice from master, because 1.2.1 is not marked for release just yet (for windows there's a prebuilt version available, but only x64 binaries as @SyntaxWarrior pointed out in his tutorial) |
Confirming I'm having an issue with Valence and iOS 10.1.1. I've connected to WebIDE before, but now I'm getting a permissions error even after hitting "Trust". Does anyone know of a way to trigger that permissions dialog again to make sure I hit the right button? :) Here's the relevant part of my stack trace:
|
@marcysutton you probably need to update libimobiledevice to master version or you could have wrong permissions on |
Thanks for the quick reply. How do I do that as a consumer of WebIDE in Firefox? I'm not building anything manually with Valence or ios-webkit-debug-proxy. |
@marcysutton oh I see, valence has prebuilt binaries shipped. What platform do you use? |
I'm on Mac OS 10.11.6 (El Capitan), I tested it with Firefox 50 and Nightly. I was able to retrigger the permissions prompt by restarting my device, but I had the same result after hitting "Trust". Permission de-nied. |
@marcysutton it's a poor error handling in
then navigate to < valence-path >/tools/mac64 and cleanup directory, then symlink |
Unfortunately this great project seems dead now. Anyway, thx for the work :) |
Hey folks, yesterday at the jsconf.eu in berlin, I saw a very nice talk about valence and the WebIDE inside firefox, so I wanted to test it with an iphone6 with ios9 and a windows 10 pc. I connected the phone with a cable to my laptop, I opened the WebIDE in firefox 41 and choose "safari, firefox and other webview on ios". It loads and after this, the smartphone icon is blue. After round about 5 seconds it jumps back to "Laufzeitumgebung auswählen". The Web-inspector is available on the iOS. Did I make anything wrong?
Cheers,
Chris
The text was updated successfully, but these errors were encountered: