Xcode 27.1 does not recognize iPhone 15 Pro — pairingState: unsupported

Hello,

I am a beginner learning to develop iOS apps with SwiftUI.

My setup:

  • MacBook running macOS 27.0.1
  • Xcode 27.1
  • iPhone 15 Pro running iOS 27.0.1
  • Developer Mode enabled on the iPhone

My iPhone is connected via USB-C and is recognized by Finder and macOS System Information.

However, my iPhone does not appear as a run destination in Xcode. Only simulators are available.

The command xcrun devicectl list devices detects the physical iPhone, but its connection information shows:

pairingState: unsupported

tunnelState: unavailable

I have already restarted both devices, tried different USB ports, checked my Apple account in Xcode, and confirmed that Developer Mode is enabled.

A simple SwiftUI test app runs correctly in the simulator, but I cannot install it on my physical iPhone.

What could cause this pairing problem, and how can I resolve it?

Thank you for your help.

Your versions should be compatible: Xcode 27.1 supports running apps on iOS 17 and later, so iOS 27.0.1 is within range. Seeing the phone in devicectl list devices doesn't necessarily mean Xcode has finished pairing it for development.

Open Device Hub from Xcode > Open Developer Tool > Device Hub. Select Physical Devices, choose the iPhone, and follow the pairing steps shown there. Keep it connected by cable and tap Trust if the phone asks. If it already appears as paired, Control-click it in the sidebar, choose Unpair, then pair it again. Apple's guide: https://developer.apple.com/documentation/xcode/managing-your-simulated-and-physical-devices-in-device-hub

If Device Hub still reports an error, could you share the exact message shown when you select the phone there, plus the iOS build number from Settings > General > About? That should help narrow down whether this is a pairing issue or an Xcode bug. Xcode 27.1 release notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-27_1-release-notes

Thank you for your reply.

I opened Device Hub in Xcode 27.1 and selected "Physical Devices".

Unfortunately, Device Hub displays "No Physical Devices". My iPhone 15 Pro is connected via USB-C, unlocked, and recognized by Finder.

When I connect the iPhone, it connects immediately without asking me to trust the computer. No error message appears on the iPhone.

Developer Mode is enabled, but Xcode still does not recognize the iPhone as a physical development device.

The devicectl output still shows pairingState: unsupported and tunnelState: unavailable.

Do you have any suggestions for what I should try next?

Thank you for your help.

Since Finder sees the phone but Device Hub shows none, I would focus on the Mac to iPhone pairing path. Try a known data-capable cable connected directly to the Mac, keep the iPhone unlocked, and check Finder under Locations for its trust status. Also check Xcode > About Xcode and confirm that exact Xcode build supports the iOS build on the phone. If Device Hub still shows no device, include the devicectl output and a sysdiagnose in a Feedback Assistant report. This looks like a pairing or device-support issue rather than a SwiftUI project problem.

Thank you for your help.

I have some additional information.

I tested another USB-C data cable, but my iPhone 15 Pro still does not appear in Xcode 27.1 or Device Hub.

However, Apple Configurator successfully recognizes my iPhone and displays its device information.

The exact iOS version is 27.0.1 (24A446).

Developer Mode is enabled on the iPhone, but Xcode still does not recognize it as a physical development device.

The devicectl output previously showed:

  • pairingState: unsupported
  • tunnelState: unavailable

Since Apple Configurator recognizes the iPhone, could this indicate a specific Xcode pairing or device-support issue?

Is there anything else I can safely check without resetting or erasing my iPhone?

Thank you for your assistance.

@SwiftBeginner2026 Thanks for checking. Configurator being able to read the device information makes a basic USB connection problem less likely. However, it doesn’t confirm that Xcode’s development connection is working, and pairingState: unsupported alone isn’t enough to identify the cause.

There are a few more checks you can try without resetting your iPhone:

1. Confirm that Terminal is using the same Xcode installation you have open.

Run:

xcode-select --print-path
xcodebuild -version
xcrun --find devicectl

Compare the version and build with Xcode > About Xcode, and check that the paths point into the expected Xcode installation. If they don’t, select the correct version under Xcode > Settings > Locations > Command Line Tools, then run xcrun devicectl list devices again.

This helps ensure the command-line results actually correspond to the Xcode version you’re troubleshooting.

2. Check for VPN or network-filter interference.

If you use a VPN or third-party network filter, temporarily disconnect or pause it, reconnect the iPhone, and check Device Hub again. Re-enable it after the test.

Xcode uses network communication even over USB, so a working Finder/Configurator connection doesn’t rule out interference with the development connection. Apple explains this in TN3158: Resolving Xcode 15 device connection issues.

3. Try explicitly starting wireless pairing.

Since your iPhone is running iOS 27, put the Mac and iPhone on the same Wi-Fi network, then choose Device Hub > + > Pair Nearby Device…. Allow device discovery if macOS prompts, and follow the pairing instructions.

This is covered in Apple’s Device Hub guide.

Could you share the version/path outputs from step 1, whether any VPN or network filtering is installed, and whether the iPhone appears in the nearby-device pairing dialog? If an error appears there, its exact wording would help narrow this down.

@SwiftBeginner2026

Thanks for the post.

Connect your iPhone to your Mac using a USB/Lightning/USB-C cable. To start with development you need to make sure Developer Mode must be explicitly enabled on the device in Settings and Privacy and Security. Make sure you restart the device after Developer Mode is on and trust the device for the computer.

On Xcode you must register and prepare a device. Before building to a physical device, Xcode requires code signing and having the device on the provisioning profile.

Please let me know the specific stage at which additional instructions or more detail instructions are required. Upon completion of the workflow, your device will be configured for debugging in Xcode.

Albert  WWDR

Thank you to everyone who has responded and tried to help.

I would like to summarize the situation and all the troubleshooting steps we have already tried, so we can avoid repeating the same suggestions.

My setup:

  • MacBook running macOS 27.0.1
  • Xcode 27.1
  • iPhone 15 Pro running iOS 27.0.1 (build 24A446)
  • A simple SwiftUI project that builds and runs successfully in the simulator

The problem:

My iPhone 15 Pro does not appear as a physical development device in Xcode. Device Hub shows "No Physical Devices", even though Finder and Apple Configurator can recognize and communicate with the iPhone.

The xcrun devicectl list devices command detects the iPhone, but the connection information reports:

  • pairingState: unsupported
  • tunnelState: unavailable

What we have already tried:

  • Restarted the MacBook, iPhone, and Xcode.
  • Updated the iPhone to iOS 27.0.1.
  • Confirmed that Xcode 27.1 is installed and selected under Command Line Tools.
  • Signed in with my Apple Account in Xcode.
  • Checked that Developer Mode is enabled on the iPhone.
  • Connected the unlocked iPhone directly to the MacBook.
  • Tried different USB-C ports and multiple data-capable USB-C cables.
  • Confirmed that Finder recognizes the iPhone.
  • Confirmed that Apple Configurator can display the iPhone and read its device information.
  • Temporarily disabled NordVPN.
  • Checked the Mac's USB accessory connection settings.
  • Opened Device Hub and selected Physical Devices, but no iPhone appears.
  • Tried Device Hub's "Pair Nearby Device" option. It remains on "Waiting to pair", while nothing happens on the iPhone.

There is no error message on the iPhone, and no new "Trust This Computer" prompt appears.

My question:

Since the USB connection works in Finder and Apple Configurator, but Xcode cannot establish a development connection, what specific diagnostic or repair step would you recommend next?

I would particularly appreciate advice that goes beyond the checks listed above. Is there a known CoreDevice pairing issue, a way to inspect the relevant logs, or a specific service that might be failing?

I am a beginner learning SwiftUI, and I would very much like to test my first app on my actual iPhone

Thank you for your time and assistance.

@SwiftBeginner2026 Thanks for the detailed summary. Given the checks you have already completed, my next recommendation would be to collect a CoreDevice diagnostic archive while the problem is occurring.

Apple’s Developer Tools team has specifically recommended this for devices missing from Device Hub:
Device Hub issue — Apple engineer’s diagnostic recommendation

There is also a similar report where Finder and Apple Configurator recognized the devices but Xcode did not. In that thread, DTS recommended enabling CoreDevice logging before collecting the diagnostics:
Xcode not seeing devices — DTS response

Here is the specific next step I would suggest:

  1. Open Apple’s Profiles and Logs page and find CoreDevice Framework for iOS/iPadOS. Follow the linked instructions to enable the relevant logging on your iPhone. The page also provides a separate CoreDevice entry for macOS.
  2. With logging enabled, reproduce the problem: connect the unlocked iPhone and open Device Hub so that it shows “No Physical Devices.” Note the approximate time of this attempt.
  3. Keep the iPhone connected and run this in Terminal:

xcrun devicectl diagnose

Save the diagnostic archive at the location reported by the command. If collection reports errors, keep those exact messages and any archive it manages to generate.

  1. Submit a report through Feedback Assistant, attaching the archive, your troubleshooting summary, the exact macOS/Xcode/iOS versions and build numbers, and a link to this thread. Then post the Feedback ID here so the Apple engineer already participating can refer to it.

Please attach the full diagnostic archive to Feedback Assistant; a Feedback ID and a redacted error excerpt are sufficient to share publicly here.

This is a diagnostic collection step and does not erase your iPhone. I cannot confirm a particular failing service or a known Xcode 27.1 bug from the two status fields alone, but these diagnostics give Apple a concrete basis for investigating the discovery and pairing failure.