Giter VIP home page Giter VIP logo

ios-webkit-debug-proxy-win32's People

Contributors

artygus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-webkit-debug-proxy-win32's Issues

Distribute binaries on NPM

The Visual Studio team is apparently already shipped an version of ios-webkit-debug-proxy.exe in the vs-libimobile NPM package.

It would be helpful for the broader community to be able to download the latest binaries from an NPM package, much similar to how we have chosen to distribute the edge-diagnostics-adapter, where each NPM package only contains the binaries for x86 and x64.

docs: how to install instructions

do you provide some information on how to setup the debug proxy on windows?

I just downloaded the msvc release build from SourceForge (linked from the readme), extracted it and started the ios-webkit-debug-proxy.exe.

It errors in a cmd windows:
proxy

My workstation is already configured to debug a Android phone with Chrome via ADB.

thx!

env:

  • win7x64
  • iphone6 on ios9
  • chrome 51.0.2704.36 beta-m

Application fails with "Could not start com.apple.webinspector" error message

I tried to run precompiled binary from SourceForge but I'm getting just these error messages in the console:

Could not start com.apple.webinspector!: No error
Unable to attach <here-comes-my-correct-UDID> inspector

I'm on Windows 7, my device is iPad 3 with iOS 8 beta 1.

I do have iTunes installed and Apple Mobile Device service is running.

Local server on http://localhost:9221/ seems to be running but shows just empty list:

iOS Devices:

Do you have any ideas what may be going on wrong please?

Supporting Windows XP

I'm trying to build the proxy for Windows XP and I get:

Error 102 error C3861: 'htonll': identifier not found C:\Users\past\Documents\GitHub\ios-webkit-debug-proxy-win32\ios-webkit-debug-proxy\src\websocket.c 351 1 ios-webkit-debug-proxy

Before I look into this, has anyone tried this before?

Can't connect to IOS 11?

I had this working already before i upgraded my IPad to IOS 11.

Now i'm getting:
Listing devices on :9221
Could not connect to lockdownd. Exiting.: No error
Unable to attach 58d2763ce8d6cd7f1565c44a31f5b5c613c3fdd0 inspector

Would appreciate the help to get this going again.

Not working on iOS10

Just a heads up. I tried with mingw32 and win32.

mingw32

Listing devices on :9221 Could not connect to lockdownd. Exiting.: No error Unable to attach 5629881f4f4f7807e05d084f6c2e8916bb32549e inspector

win32 (1st level in folder)

Invalid message _rpc_reportConnectedApplicationList:
WIRApplicationDictionaryKey

PID:65

WIRRemoteAutomationEnabledKey

WIRIsApplicationActiveKey
1
WIRIsApplicationReadyKey

WIRApplicationIdentifierKey
PID:65
WIRIsApplicationProxyKey

WIRApplicationNameKey

WIRApplicationBundleIdentifierKey
com.apple.webinspectord

PID:1330

WIRRemoteAutomationEnabledKey

WIRIsApplicationActiveKey
1
WIRIsApplicationReadyKey

WIRApplicationIdentifierKey
PID:1330
WIRIsApplicationProxyKey

WIRApplicationNameKey
Safari
WIRApplicationBundleIdentifierKey
com.apple.mobilesafari

PID:1332

WIRRemoteAutomationEnabledKey

WIRIsApplicationActiveKey
1
WIRIsApplicationReadyKey

WIRApplicationIdentifierKey
PID:1332
WIRIsApplicationProxyKey

WIRApplicationNameKey

WIRApplicationBundleIdentifierKey
com.apple.WebKit.WebContent
WIRHostApplicationIdentifierKey
PID:1330


win32 (second level in folder)

Could not connect to lockdownd. Exiting.: No error Unable to attach 5629881f4f4f7807e05d084f6c2e8916bb32549e inspector

Please let me know if I can provide any more info to help.

Won't run on Windows 8.1

I extracted the latest release and moved into C:\Program files, but it always says "The program can't start because MSVCR120.dll is missing from your computer".

I have Visual C++ 2005, 2008, 2010, 2012, 2013 installed and still it doesn't run.

Invalid message error

Hi,

When I use the ios webkit debug proxy on Windows 7 I receive following error, when I plug in the iPad:
Invalid message _rpc_reportConnectedApplicationList:
WIRApplicationDictionaryKey

PID:66

WIRApplicationIdentifierKey
PID:66
WIRIsApplicationProxyKey

WIRApplicationNameKey

WIRApplicationBundleIdentifierKey
lockdownd
WIRIsApplicationActiveKey
1


Can anyone help? It worked fine a few weeks ago.

Thanks & Regards,
Jason

Could not connect to iOS 11 device

Hello,
I use version 1.7.1. It works well with iOS 10.
When I plug an iOS 11 device, I have this error in console :

Could not connect to lockdownd. Exiting.: No error
Unable to attach your_device_uuid inspector

Invalid message _rpc_reportConnectedApplicationList:

Windows 10
Firefox Developer Edition
iPad
Trying to follow along with this tutorial: http://johnnyzone.com/2016/02/debug-a-website-in-ios-safari-on-windows/

I saw other issues like this reported, so I downloaded and ran this one:
http://sourceforge.net/projects/ios-webkit-debug-proxy-win32/files/test-builds/ios-webkit-debug-proxy-mingw32.zip/download

That appears to run, I see a command window with this:
Listing devices on :9221
Connected :9222 to ΓÇÖs iPad (cae8a75c1e724740597b934850e4f7df4ff6e5e6)

Then the WebIDE shows the device is connected, then disconnects and the Command window then shows:

Listing devices on :9221
Connected :9222 to ΓÇÖs iPad (cae8a75c1e724740597b934850e4f7df4ff6e5e6)
Unknown app_id PID:171
Invalid message _rpc_applicationSentListing:
WIRApplicationIdentifierKey
PID:171
WIRListingKey



Disconnected :9222 from mark.barryΓÇÖs iPad (cae8a75c1e724740597b934850e4f7df4ff6e5e6)

The browser console shows a ton of errors too
A promise chain failed to handle a rejection. Did you forget to '.catch', or did you forget to 'return'?
See https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise

valence:PowerShell -Command ps ios-webkit-debug-proxy: I ios-proxy.js:200
Connection status changed: connecting app-manager.js:160
Connection status changed: connected app-manager.js:160
protocol.js:907
Connection status changed: disconnecting app-manager.js:160
Connection status changed: disconnected app-manager.js:160
unknownError Promise-backend.js:936

Date: Wed May 25 2016 09:10:42 GMT-0700 (Pacific Standard Time)
Full Message: unknownError
Full Stack: JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: PendingErrors.register :: line 191
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.completePromise :: line 714
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/webide/modules/tab-store.js :: TabStore.prototype.listTabs/< :: line 104
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js :: DebuggerClient.requester/</< :: line 294
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js :: exports.makeInfallible/< :: line 101
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js :: emitOnObject :: line 112
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js :: emit :: line 89
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js :: Request.prototype.emit :: line 1218
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js :: DebuggerClient.prototype.onPacket/emitReply :: line 1004
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js :: DebuggerClient.prototype.onPacket :: line 1006
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/transport/transport.js :: LocalDebuggerTransport.prototype.send/< :: line 569
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js :: exports.makeInfallible/< :: line 101
JS frame :: resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js :: exports.makeInfallible/< :: line 101

Doesn't recognize iPhone with iOS 10.0

I tried to debug a web page from an apple device (iPhone with iOS 10.3) on windows by using WEBIde from Firefox. It works well with an iPhone with an iOS of 9.1 but doesn't work with an iPhone with iOS 10.3.
Ad RemoteDebug/remotedebug-ios-webkit-adapter describe, it seems that :

iOS 10 on Windows: Please be aware that iOS10 debugging might not work on Windows as the bundled version of /ios-webkit- debug-proxy-win32 is out of date.

Will you have a project to update your executable ? Or do you have an other solution ?

iOS 10 apps

I was able to see safari elements on chrome with ease. Can I inspect webview contents of hybrid apps?

iOS10 support

When I try to connect to an iOS10 device, I get the following error:

Listing devices on :9221 Could not connect to lockdownd. Existing.: No error Unable to attach {$hash} inspector
My environment:
Windows 10
Google Chrome 52.0.2743.116
iTunes 12.5.1.21 (installed today & rebooted machine)

iPhone SE mllx2ll/a
iOS 10.0.1 14a403
Safari 602.1.5

I downloaded this binary and have run it as a regular user and administrator.
http://heanet.dl.sourceforge.net/project/ios-webkit-debug-proxy-win32/test-builds/ios-webkit-debug-proxy-mingw32-ios10.zip

Unable to connect to chrome-devtools-frontend.appspot.com:80

Everytime I try to connect to Safari on my iPhone 6S, I can see my device in the list and my open tabs but when i press a tab, I get this error message:

Unable to connect to chrome-devtools-frontend.appspot.com:80

I am running Chrome 50 on Windows 8.1 and using ios-webkit-debug-proxy-mingw32

Invalid message _rpc_applicationUpdated

Relase 2014-02-14
Windows 8.1 cmd (Admin mode), apple iPhone 5, debug mode is on.

D:\System\ios-debug> ios-webkit-debug-proxy
device udid: f756a******************
called
sending 295 bytes
sending 4 bytes
sending 295 bytes
sent 295 bytes
initial read=4
297 bytes following
received 297 bytes
success with type com.apple.mobile.lockdown
initialized config_dir to C:\ProgramData\Apple\Lockdown
sending 4847 bytes
sending 4 bytes
sending 4847 bytes
sent 4847 bytes
initial read=4
239 bytes following
received 239 bytes
ValidatePair success
internal pairing mode
using 30377145-********************** as SystemBUID
sending 431 bytes
sending 4 bytes
sending 431 bytes
sent 431 bytes
initial read=4
354 bytes following
received 354 bytes
Session startup OK
SessionID: 185A6003-B1B9-4CA5-B166-26DF7ED5DF66
Enable SSL Session: true
SSL mode enabled, cipher: AES256-SHA
sending 339 bytes
sending 4 bytes
SSL_write 4, sent 4
sending 339 bytes
SSL_write 339, sent 339
sent 339 bytes
SSL_read 4, received 4
initial read=4
330 bytes following
SSL_read 330, received 330
received 330 bytes
success
has a value
sending 359 bytes
sending 4 bytes
SSL_write 4, sent 4
sending 359 bytes
SSL_write 359, sent 359
sent 359 bytes
SSL_read 4, received 4
initial read=4
343 bytes following
SSL_read 343, received 343
received 343 bytes
stopping session 185A6003-B1B9-4CA5-B166-26DF7ED5DF66
sending 374 bytes
sending 4 bytes
SSL_write 4, sent 4
sending 374 bytes
SSL_write 374, sent 374
sent 374 bytes
SSL_read 4, received 4
initial read=4
238 bytes following
SSL_read 238, received 238
received 238 bytes
success
SSL mode disabled
Invalid message _rpc_applicationUpdated: <dict>
        <key>WIRApplicationBundleIdentifierKey</key>
        <string>com.apple.mobilesafari</string>
        <key>WIRApplicationNameKey</key>
        <string>Safari</string>
        <key>WIRIsApplicationProxyKey</key>
        <false/>
        <key>WIRIsApplicationActiveKey</key>
        <integer>0</integer>
        <key>WIRApplicationIdentifierKey</key>
        <string>PID:699</string>
</dict>

Using with Chrome Devtools gives a 404

Is it possible to debug pages with my locally installed Chrome Devtools? I have this working OK with the default front-end but when I try to use

ios-webkit-debug-proxy -f chrome-devtools://devtools/bundled/inspector.html

I visit http://localhost:9221, follow the link through to my iPad, click the inspectable page and then see a page:

In address bar: http://localhost:9222/devtools/inspector.html?host=localhost:9222&page=1

404. That's an error.

The requested URL /devtools/inspector.html?host=localhost:9222&page=1 was not found. Invalid frontend URL?

If I visit chrome-devtools://devtools/bundled/inspector.html directly I see a bare Devtools page. I am using Chrome 49.0.2623.108 m (64-bit) and Windows 7 64-bit.

Thanks.

When I start the app I don't get any output, just a blank terminal

I thought I should let you know. Although I really don't know what kind of information could I add for you to debug the issue. I'm running Windows 8, iTunes is installed and the mobile device services is running. I already tried to run the binary with Windows 7 compatibility.

iphone 6, ios 9.3.1 doesn't work

$ ios-webkit-debug-proxy -f chrome-devtools://devtools/bundled/inspector.html
Invalid message _rpc_reportConnectedApplicationList: <dict>
        <key>WIRApplicationDictionaryKey</key>
        <dict>
                <key>PID:722</key>
                <dict>
                        <key>WIRApplicationIdentifierKey</key>
                        <key>PID:722</key>
                        <key>WIRIsApplicationProxyKey</key>
                        <false/>
                        <key>WIRApplicationNameKey</key>
                        <string></string>
                        <key>WIRApplicationBundleIdentifierKey</key>
                        <string>lockdownd</string>
                        <key>WIRIsApplicationActiveKey</key>
                        <integer>1</integer>
                </dict>
                <key>PID:955</key>
                <dict>
                        <key>WIRApplicationIdentifierKey</key>
                        <key>PID:955</key>
                        <key>WIRIsApplicationProxyKey</key>
                        <false/>
                        <key>WIRApplicationNameKey</key>
                        <string>Safari</string>
                        <key>WIRApplicationBundleIdentifierKey</key>
                        <string>com.apple.mobilesafari</string>
                        <key>WIRIsApplicationActiveKey</key>
                        <integer>1</integer>
                </dict>
                <key>PID:957</key>
                <dict>
                        <key>WIRApplicationIdentifierKey</key>
                        <key>PID:957</key>
                        <key>WIRIsApplicationProxyKey</key>
                        <true/>
                        <key>WIRApplicationNameKey</key>
                        <string></string>
                        <key>WIRApplicationBundleIdentifierKey</key>
                        <string>com.apple.WebKit.WebContent</string>
                        <key>WIRIsApplicationActiveKey</key>
                        <integer>1</integer>
                        <key>WIRHostApplicationIdentifierKey</key>
                        <key>PID:955</key>
                </dict>
        </dict>
</dict>

In http://localhost:9221/ displayed:

iOS Devices:
     localhost:9222 - iPhone (Sergey) (2)

But localhost:9222: ERR_CONNECTION_REFUSED

win7x64

Cannot connect - please help

Hello all,

I am desperately trying to remotely debug safari and other browsers from my iphone.

I followed these instructions: http://johnnyzone.com/2016/02/debug-a-website-in-ios-safari-on-windows/

I downloaded and installed itunes, my device is recognised. I turned developer tools on my phone on, opened up a tab, started webide in firefox and click the option "Safari, Firefox, and other WebViews on iOS" but no devices are recognised.

I then downloaded the "ios-webkit-debug-proxy-mingw32" as recommended in the article and ran the "ios-webkit-debug-proxy.exe" however, I keep getting this error message...

"Listing devices on :9221
Could not connect to lockdownd. Exiting.: No error
Unable to attach f254e44f7bc6c8b89610f08b019b9a9ec8204b1f inspector"

Can anyone kindly help me?

Blank DevTools window

When I run the application I can see the open pages of the ios device for debugging, but when I click on them I just get a blank dev tools window like that:

image

I tried this on Google Chrome 38.0.2125.111, 40.0.2208.0 canary and on Safari 5.1.7
I'm using Windows 8.1 and an iPad with IOS 7.1.1

Any idea how to solve this? Thanks!

In windows7, how to solve?

$ ios-webkit-debug-proxy.exe
connect: No error
Could not set socket to non-blocking: No error
Unable to subscribe to device add/remove events

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.