Keep Xcode on
Go to Windows > Devices and simulators > Unpair your phone
Remove cable connection
Reconnect cable and Trust the computer on phone
Xcode may get stuck in pairing just disconnect and reconnect cable and it should work