go-ios
go-ios copied to clipboard
bug: device appears twice for `ios list`
Testing env macOS Monterey 12.0.1 (21A559) CLI version: v1.0.32
What happened When connecting a single device via USB I get the following result:
➜ /tmp ~/Downloads/ios list --details | jq
{
"deviceList": [
{
"Udid": "<UDID>",
"ProductName": "iPhone OS",
"ProductType": "iPhone8,1",
"ProductVersion": "14.2"
},
{
"Udid": "<SAME UDID>",
"ProductName": "iPhone OS",
"ProductType": "iPhone8,1",
"ProductVersion": "14.2"
}
]
}
P.S. I recommand using an issue template for an easier bug reporting process
Hm is it maybe related to the device being on wifi? I think then it can show up twice, once for usb and once for wifi. If that is the case, I will add some property to the list so you can see which one is which-
Good point with the issue template, I'll add it!
The device's WiFi is turned off. Also, on other devices this works well. I don't know the reason why this happens. With pymobiledevice3 it doesn't
Can you try running go-ios listen
and check if it has the same issue?