Failed to launch: 'Could not attach to pid : “17649”' -- Connection shut down by remote side while waiting for reply to initial handshake packet
When connecting devices for debugging, the iPhone and Mac are no longer on the same LAN, Xcode still tries to debug using a Wifi connection.
If I'm using a wired connection, please prioritize debugging using a wired connection instead of always trying to debug using a Wi-Fi connection.
For us to understand what happened here, we need to see a bug report with some logs attached:
- Xcode sysdiagnose
- CoreDevice logging profile installed for the iOS device
- An iOS sysdiagnose after installing the above profile
Once you have that information collected, please attach it all to a bug report and post the FB number here.
— Ed Ford, DTS Engineer