Connect iPhone 7 to XCode

I’m trying to connect my iPhone 7 to debug my app’s behavior on older phones.

When I first tried to connect with it on Devices & Simulators window, the trust modal appeared on my iPhone’s screen and I surely clicked on Trust to proceed with my attempt to connect the device, but it didn't.

After that, every time that I plug the USB from iPhone 7, it shows the device specifications as fast as it disappears and without adding it to connected devices. It happens like that: No explanation, no feedback, nothing.

I need to do my work, and I have one of the best MacBooks out there, but yet I’m unable to do the simple task of connecting my device.

Could someone please help me?

I'm having the same problem.

Connect iPhone 7 to XCode
 
 
Q