Xcode on my new MacBook will not find my iPhone

Hi, I'm having a strange issue with my new MacBook Pro M5. My iPhone 17 is connected via USB. The phone appears in Finder, so the Mac clearly detects it, and I can access it there. However, the Xcode doesn't see the iPhone at all.

Both the MacBook Pro and the iPhone are running version 26.5.

What's confusing is that the exact same iPhone and the exact same USB cable work perfectly with my older Intel-based MacBook Pro.

Has anyone else experienced this, or have any suggestions on what I should check?

Xcode on my new MacBook will not find my iPhone
 
 
Q