Hi, i got a weird issue. my app forces cellular connection using network. everything is ok but I lost the debug connection when I try to change the mobile network.
Step to reproduce:
-
I tried to force tcp connection to cellular network via Network using this :
let params = NWParameters(tls: options) params.requiredInterfaceType = .cellular
-
Tap to change status mobile network icon (on -> off or off -> on) on iOS
-
Debug app killed on my phone
-
I got popup message in Xcode : "Lost connection to the debugger on “iPhone”. "
Even my IPhone device icon still in the Xcode build bar.
iOS: 14.6
Do you have any idea?