XCode reconnect network device

Hello,


I have tried the "connect via network" function in XCode and it works great.

But when the iPhone lost the wireless cconnection XCode did not find it again automatically

To get it connected again I have to open the "Devices and Simulators" page and click the disconnected device once. After taht it reconnects again

Is there a way to get an auto reconnect or is there a command line tool to reconnect devices?

The problem is that I use the xcode command line tool for 24/7 ui tests and I don't want to manually reconnect everytime the iPhone losts the wireless connection for some seconds


Thanks