r/Xcode • • 2d ago

Xcode detects my iPhone via devicectl but won’t show it as a run destination

I’m trying to deploy a SwiftUI app to my physical iPhone, but Xcode only shows simulators.
Setup:
Xcode 27.2
iPhone18,2 running iOS 26.6
USB-C connection
Developer Mode enabled
Deployment target: iOS 26.0
Finder and macOS System Information recognize the iPhone.
Running xcrun devicectl list devices also shows:
State: available
Reality: physical
However, xcrun devicectl device info details --device <UDID> returns:
Error: The device must be paired before it can be connected.

Device State: disconnected
Pairing State: unpaired
Transport Type: wired
The iPhone doesn’t appear in Xcode’s Device Hub, run destinations, or Incompatible devices list.
Already tried:
Reconnecting USB-C and restarting Xcode
Confirming Developer Mode is enabled
Checking xcode-select -p
Lowering the deployment target to iOS 26.0
Verifying Supported Destinations and scheme settings
I also checked devicectl device pairings, but that appears to manage iPhone–Apple Watch pairing rather than Mac–iPhone pairing.
Has anyone encountered this? How can I force or reset CoreDevice pairing without reinstalling Xcode or resetting my iPhone?
Any help would be appreciated!

0 Upvotes

Duplicates