Reply to Lost connection to the debugger IDEDebugSessionErrorDomain Code: 22 Same thing happening to me, but rarely. There is no crash log and it doesn't happen when not attached to XCode. Developer Tools & Services Xcode Feb ’24