Skip to content

Conversation

@davidofwatkins
Copy link
Contributor

@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.

@theproducer theproducer requested a review from a team December 15, 2025 17:28
Copy link

@OS-pedrogustavobilro OS-pedrogustavobilro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidofwatkins thanks for the PR.

Tested here and the iphone connected via WiFi that was previously did not show up as an option in npx can run ios, is now showing with this PR. Nice!

@theproducer theproducer self-requested a review December 16, 2025 16:07
Copy link
Contributor

@theproducer theproducer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, works well!

@theproducer theproducer changed the title Support wireless iOS devices fix: Support wireless iOS devices Dec 16, 2025
@theproducer theproducer merged commit cf7a229 into ionic-team:develop Jan 6, 2026
4 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 8, 2026
## [2.0.3](v2.0.2...v2.0.3) (2026-01-08)

### Bug Fixes

* Support wireless iOS devices ([#398](#398)) ([cf7a229](cf7a229))
@Ionitron
Copy link
Collaborator

Ionitron commented Jan 8, 2026

🎉 This PR is included in version 2.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPhone got no targetID if connect over network

4 participants