Occasionally, when I connect my iPhone XR to Mac Book Pro (Mid-2015) model, the iPhone starts disconnecting and reconnecting.
It doesn't happen all the time, but it does usually happen once a day. Is there anyway to fix it? Sometimes the iPhone won't be detected by the Mac at all, but this is much rarer.
I recently did a clean reinstall of MacOS Monterey, so that should probably rule out a lot of issues.
I only use the official lightning cable that comes with the iPhone. I have also checked the iPhone port has no dirt in it.
Thanks!