I'm encountering this as well. I find it when I send invitations in the Multipeer Connectivity framework & SwiftUI.
Peers that accept invitations get to MCSessionState.connecting, but eventually I get a "Not in connected state, so giving up for participant [6FC817C0] on channel [N]" and the peer is then set to MCSessionState.notConnected.
In Info.plist I have NSBonjourServices array set to _<serviceType>._tcp and _<serviceType>._udp.
Also, I know my peer finder class is not being reinitialized with the UI because I know it implements ObservableObject and uses the @StateObject property wrapper.