Skip to content
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

当前支持IOS17设备与Mac连接同一个wifi后,与设备进行命令交互吗 #3

Open
HaoWShi opened this issue Jan 31, 2024 · 7 comments

Comments

@HaoWShi
Copy link

HaoWShi commented Jan 31, 2024

No description provided.

@HaoWShi HaoWShi changed the title 当前支持IOS17在Mac下启动wda吗? 当前支持IOS17设备与Mac连接同一个wifi后,与设备进行命令交互吗 Jan 31, 2024
@codeskyblue
Copy link
Owner

试试喽

@krishtoautomate
Copy link

home@B02SAV22 ~ % t3 runwda --bundle-id 'com.facebook.WebDriverAgentRunner.xctrunner' 2024-02-17 21:48:54 B02SAV22 tidevice3.cli.runwda[36387] INFO forwarder started, listen on 8100 2024-02-17 21:48:55 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36387] INFO make channel dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface 2024-02-17 21:48:55 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36387] INFO conn1 handshake xcode version: 36 2024-02-17 21:48:55 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36387] INFO conn2 handshake xcode version: 36 2024-02-17 21:48:56 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36387] INFO ProcessOutput: OutputReceivedEvent(pid=2242, date=None, message='2024-02-17 21:48:56.154761-0500 WebDriverAgentRunner-Runner[2242:914767] [Default] Running tests...\n') 2024-02-17 21:48:56 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36387] INFO Runner started with pid:2242, waiting for testBundleReady 2024-02-17 21:48:57 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36387] INFO authorizing test session for pid 2242 successful True

But not able to access 8100 through localhost even with iproxy

@krishtoautomate
Copy link

home@B02SAV22 ~ % t3 runwda 2024-02-17 22:00:52 B02SAV22 tidevice3.cli.runwda[36985] INFO forwarder started, listen on 8100 2024-02-17 22:00:53 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36985] INFO make channel dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface 2024-02-17 22:00:53 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36985] INFO conn1 handshake xcode version: 36 2024-02-17 22:00:53 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36985] INFO conn2 handshake xcode version: 36 2024-02-17 22:00:53 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36985] INFO ProcessOutput: OutputReceivedEvent(pid=2262, date=None, message='2024-02-17 22:00:53.980004-0500 WebDriverAgentRunner-Runner[2262:920731] [Default] Running tests...\n') 2024-02-17 22:00:53 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36985] INFO Runner started with pid:2262, waiting for testBundleReady 2024-02-17 22:00:54 B02SAV22 pymobiledevice3.services.dvt.testmanaged.xcuitest[36985] INFO authorizing test session for pid 2262 successful True 2024-02-17 22:01:23 B02SAV22 pymobiledevice3.tcp_forwarder[36985] ERROR failed to connect to port: 8100 2024-02-17 22:01:24 B02SAV22 pymobiledevice3.tcp_forwarder[36985] ERROR failed to connect to port: 8100 2024-02-17 22:01:26 B02SAV22 pymobiledevice3.tcp_forwarder[36985] ERROR failed to connect to port: 8100 2024-02-17 22:01:27 B02SAV22 pymobiledevice3.tcp_forwarder[36985] ERROR failed to connect to port: 8100 2024-02-17 22:01:32 B02SAV22 pymobiledevice3.tcp_forwarder[36985] ERROR failed to connect to port: 8100

@codeskyblue
Copy link
Owner

别光贴日志呀,具体啥问题

@krishtoautomate
Copy link

sorry about posting log only.

executed command t3 runwda --bundle-id 'com.facebook.WebDriverAgentRunner.xctrunner' to start wda which is pre-installed in device. but unable to access wda endpoint : http://localhost:8100/status

@codeskyblue
Copy link
Owner

直接使用手机的IP:8100可以连上吗?

@krishtoautomate
Copy link

Tried but no luck. Didnt work with http://device-ipaddrss:8100/status

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

3 participants