However, I left to drop my kid at school, came back, and it’s working.
I’m always tempted to just press on then, but I know it will happen again, and I can rarely be good with a couple hours with a show-stopper.
I wish there was more information that could be used to figure out what the problem is.
Ok, so just in case you don’t know, if you delete the app, the device “forgets” that the app has permission to access the network and you have to give it permission again. That should show up as a dialog when you go to launch it again the next time.
I’ve seen a few cases in my own work where if your app has its own need to access the network that settings that differ with Xojo will override the Xojo settings that are required for debugging and things will start failing. Also, check in Xcode and see whether Connect via WiFi is checked for the device or not. If you’re using USB for debugging, you should uncheck that option in Xcode. My experience indicates that the device may choose WiFi over USB if the USB connection doesn’t respond in a certain way, but turning that flag off makes it much more stable.