Skip to content

It doesn't work with ios10. #144

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

Closed
dania-ru opened this issue Jun 16, 2016 · 16 comments
Closed

It doesn't work with ios10. #144

dania-ru opened this issue Jun 16, 2016 · 16 comments

Comments

@dania-ru
Copy link

No description provided.

@artygus
Copy link
Collaborator

artygus commented Jun 16, 2016

any errors?

@dania-ru
Copy link
Author

I'm running ios-webkit-debug-proxy on Windows.
When I try to send a command to device from my machine's browser (for example: {"id":1,"method":"Page.navigate","params": {"url":"http://www.google.com/"}}), the webpage reloads on the device, showing the error message "A problem occurred with this webpage so it was reloaded". Looking at the traffic I see that webkit debug proxy receives the following messages sequence: _rpc_applicationUpdated
_rpc_applicationDisconnected
_rpc_applicationConnected (with another PID of com.apple.WebKit.WebContent )
And that page number on device changes...

When doing the same thing when connected to an iOS9 device, we get:
_rpc_applicationSentListing
_rpc_applicationSentData
And whatever operation I try to perform works...

BTW, when sending the same command from Safari on a Mac connected to the iOS10, it always succeeds.

Has anyone played with iOS10 beta and seen this issue?

@EliyahuStern
Copy link

I have similar issues with iOS 10 Beta 1 too

@EliyahuStern
Copy link

EliyahuStern commented Jun 24, 2016

I am getting this error message:

Invalid message _rpc_reportConnectedDriverList: <dict>
    <key>WIRDriverDictionaryKey</key>
    <dict>
    </dict>
</dict>

@chetansutar008
Copy link

chetansutar008 commented Jun 24, 2016

Same issue for me on iOS 10 beta . Maybe issue with libimobiledevice?

wi.recv_packet[211]:
00 00 00 CF 62 70 6C 69 73 74 30 30 D1 01 02 5F 10 12 57 ....bplist00.....W
49 52 46 69 6E 61 6C 4D 65 73 73 61 67 65 4B 65 79 4F 10 IRFinalMessageKeyO.
89 62 70 6C 69 73 74 30 30 D2 01 02 03 06 5A 5F 5F 61 72 .bplist00.....Z__ar
67 75 6D 65 6E 74 5A 5F 5F 73 65 6C 65 63 74 6F 72 D1 04 gumentZ__selector..
05 5F 10 16 57 49 52 44 72 69 76 65 72 44 69 63 74 69 6F .
..WIRDriverDictio
6E 61 72 79 4B 65 79 D0 5F 10 1F 5F 72 70 63 5F 72 65 70 naryKey._.._rpc_rep
6F 72 74 43 6F 6E 6E 65 63 74 65 64 44 72 69 76 65 72 4C ortConnectedDriverL
69 73 74 3A 08 0D 18 23 26 3F 40 00 00 00 00 00 00 01 01 ist:...#&?@........
00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00 ...................
00 00 00 00 62 08 0B 20 00 00 00 00 00 00 01 01 00 00 00 ....b.. ...........
00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...................
00 AC ..
Invalid message _rpc_reportConnectedDriverList:
WIRDriverDictionaryKey



ss.remove_fd(6)
Disconnected :27753 from iPhone (b47a72f778af176acc00e804b7f48eced158f396)
ss.remove_server_fd(4)
ss.recv fd=3 len=298

@artygus
Copy link
Collaborator

artygus commented Jun 24, 2016

I'll look into it

@artygus
Copy link
Collaborator

artygus commented Jun 24, 2016

@cheatnsutar008 it may be, but in this case _rpc_reportConnectedDriverList is simply not handled by the utility and it's not the only problem, need to do some reasearch

@artygus
Copy link
Collaborator

artygus commented Aug 1, 2016

iOS 10 should be handled now, but you need to build from HEAD

@artygus artygus closed this as completed Aug 1, 2016
@yaphatak
Copy link

yaphatak commented Sep 7, 2016

@artygus : When we can install this via brew install...?

@artygus
Copy link
Collaborator

artygus commented Sep 7, 2016

@yaphatak it's possible right now with brew install --HEAD

@yaphatak
Copy link

yaphatak commented Sep 7, 2016

Thanks I will give a try.

@aroramayank2002
Copy link

We have our device iPhone 6s updated to IOS 10 but since then proxy is failing to connect:

Command used:
ios_webkit_debug_proxy -c f79e0cb99fb720592ab3b956b4173b049ca69243:9226
Error:
Could not connect to lockdownd. Exiting.: Broken pipe
Unable to attach f79e0cb99fb720592ab3b956b4173b049ca69243 inspector

It's able to connect to devices still on IOS 9.3

@artygus
Copy link
Collaborator

artygus commented Sep 21, 2016

@aroramayank2002 brew upgrade libimobiledevice --HEAD #161

@aroramayank2002
Copy link

aroramayank2002 commented Sep 22, 2016

Thanks artygus, that is the quickest reply I have got on github.
Tried it yesterday, now it says:
Invalid message _rpc_reportConnectedDriverList:
WIRDriverDictionaryKey


Tried:
brew uninstall ios-webkit-debug-proxy
brew install ios-webkit-debug-proxy
But it gave the 1.6 version and I guess I need 1.7.

@artygus
Copy link
Collaborator

artygus commented Sep 22, 2016

hi @aroramayank2002 😄, looks like you have outdated version of utility, please try brew update && brew upgrade ios-webkit-debug-proxy

@aroramayank2002
Copy link

aroramayank2002 commented Sep 22, 2016

@artygus, you just broke last record for fast response.

Tried the above command here is the output:
mayank.arora$ brew update && brew upgrade ios-webkit-debug-proxy

/usr/local/Library/Homebrew/cmd/update.sh: line 12: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/update.sh: line 12: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/update.sh: line 12: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/update.sh: line 12: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/Homebrew/cmd/update.sh: line 12: /usr/local/Library/ENV/scm/git: No such file or directory
==> Homebrew has enabled anonymous aggregate user behaviour analytics
Read the analytics documentation (and how to opt-out) here:
https://git.io/brew-analytics
Error: update-report should not be called directly!

Tried the same commands on two lines and it worked... Thanks a lot artygus. You deserver a treat, let me know if you come to Stockholm in future ;). My mail id [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants