Skip to content

go-ios fails to connect to RSD on iOS 18 #689

Description

@linbossdegithub

Here’s a concise English description you can post to the go-ios issue tracker:

I’m having trouble using go-ios (via Airtest) with an iOS 18.1.1 device.

Environment:

macOS: [your macOS version]
Xcode: [your Xcode version]
go-ios binary is being used as ios-darwin inside Airtest at:
/opt/homebrew/lib/python3.9/site-packages/airtest/core/ios/goios/mac/ios-darwin
Device: iPhone 15,4 – iOS 18.1.1
Python: 3.9
pymobiledevice3: works fine
Problem:

When I run:

/opt/homebrew/lib/python3.9/site-packages/airtest/core/ios/goios/mac/ios-darwin --udid=00008120-000C616211BBAXXX info
I get:

{"err":"NewWithAddrPortTUNDevice: failed to connect to device: ConnectToHttp2WithAddr: failed to dial: dial tcp [fd43:b7d4:c086::1]:51905: connect: operation timed out","level":"fatal","msg":"could not connect to RSD, host fd43:b7d4:c086::1, port 51905","time":"2026-02-28T16:10:13+08:00"}
At the same time, pymobiledevice3 can see the device without any issues:

sudo python3.9 -m pymobiledevice3 remote browse
Output:

{
"usb": [
{
"OSVersion": "18.1.1",
"ProductType": "iPhone15,4",
"UniqueDeviceID": "00008120-000C616211BBAXXX",
"address": "fe80::4895:1eff:fe01:e9a7%eXXX",
"port": 58783
}
],
"wifi": [
{
"address": "192.168.XXX.XXX",
"identifier": "00008120-000C616211BBAXXX",
"port": 49152
},
{
"address": "XXX.XXX.XXX.XXX",
"identifier": "00008120-000C616211BBAXXX",
"port": 49152
}
]
}
So USB connection, pairing, and lockdown seem OK, but go-ios fails to connect to RSD over HTTP/2 using an internal IPv6 address (fd43:…::1:51905) and times out.

Is this a known compatibility issue with iOS 18.x / RSD, or is there any recommended workaround or specific go-ios version/flags I should use to make info work with iOS 18.1.1?

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