Skip to content

Conversation

@davidofwatkins
Copy link

@davidofwatkins davidofwatkins commented Nov 22, 2025

Fixes #295

This updates getConnectedDevices() to support listing iOS devices that are connected wirelessly by using SerialNumber for a device's UniqueDeviceID if not otherwise available.

I've tested this within a Capacitor project using npx cap run ios, and it's been working well for a few weeks. In order for this to work, the device needs to be paired in Finder with "Show this iPhone when on Wi-Fi" checked:

image

If this doesn't work right away, make sure your device is unlocked and nearby. I had to reconnect my phone by cable a few times and force-restart Finder to get it to work the first time, but it eventually worked and has worked consistently since.

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

Successfully merging this pull request may close these issues.

iPhone got no targetID if connect over network

1 participant