None of the things above helped me, but simply disconnecting 'the hub' and reconnecting it to my M1 Macbook Air solved the problem.. Iphone just re-appeared in Xcode, without restarting neither the phone nor the Xcode.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: