Skip to content

The Run WDA program cannot be launched on iOS 17.2 #670

Description

@TestLoong

1、PC:Windows 10 Professional Workstation Edition(19044.1466)
2、go-ios version:[v1.0.192]

PS C:\Users\xxxxxxxxxx> ios tunnel start
{"level":"warning","msg":"go-ios agent is not running. You might need to start it with 'ios tunnel start' for ios17+. Use ENABLE_GO_IOS_AGENT=user for userspace tunnel or ENABLE_GO_IOS_AGENT=kernel for kernel tunnel for the experimental daemon mode.","time":"2026-01-14T17:57:10+08:00"}
{"level":"info","msg":"no udid specified using first device in list","time":"2026-01-14T17:57:10+08:00","udid":"00001111-000055661H63U12P"}
{"level":"info","msg":"Tunnel server started","time":"2026-01-14T17:57:10+08:00"}
{"level":"info","msg":"start tunnel","time":"2026-01-14T17:57:11+08:00","udid":"00001111-000055661H63U12P"}
{"level":"info","msg":"ManualPairAndConnectToTunnel: starting manual pairing and tunnel connection, dont forget to stop remoted first with 'sudo pkill -SIGSTOP remoted' and run this with sudo.","time":"2026-01-14T17:57:11+08:00"}
{"error":"ManualPairAndConnectToTunnel: failed to find device ethernet interface: context deadline exceeded","level":"warning","msg":"failed to start tunnel","time":"2026-01-14T17:57:21+08:00","udid":"00001111-000055661H63U12P"}
{"level":"info","msg":"start tunnel","time":"2026-01-14T17:57:21+08:00","udid":"00001111-000055661H63U12P"}

PS C:\Users\XXXXXX01> ios list
{"deviceList":["00001111-000055661H63U12P"]}
PS C:\Users\XXXXXX01> ios runwda --udid=00001111-000055661H63U12P --bundleid=com.cheyun.WebDriverAgentLib.xctrunner --testrunnerbundleid=com.cheyun.WebDriverAgentLib.xctrunner --xctestconfig=WebDriverAgentRunner.xctest
{"level":"warning","msg":"failed to get tunnel info","time":"2026-01-14T17:58:14+08:00","udid":"00001111-000055661H63U12P"}
{"bundleid":"com.cheyun.WebDriverAgentLib.xctrunner","level":"info","msg":"Running wda","testbundleid":"com.cheyun.WebDriverAgentLib.xctrunner","time":"2026-01-14T17:58:14+08:00","xctestconfig":"WebDriverAgentRunner.xctest"}
{"error":"runXUITestWithBundleIdsXcode15Ctx: cannot create a tunnel connection to testmanagerd: ConnectToServiceTunnelIface: Cannot connect to com.apple.dt.testmanagerd.remote, missing tunnel address and RSD port","level":"error","msg":"Failed running WDA","time":"2026-01-14T17:58:14+08:00"}

Image

I haven't encountered this issue on other iOS versions, such as iOS 15.7, 18.2, and 26.2. Can you help me see what caused it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions