MCAdvertiserAssistant class in MultipeerConnectivity cloud not popup "Accept" dialog

Hi, I was running in Xcode 13.3 and iOS 15.4 to test MultipeerConnectivity. Will I using MCAdvertiserAssistant to delegate other peers responding. The host device will show this error to block popup window.

ApplicationName[55554:1502624] [View] First responder issue detected: non-key window attempting reload - allowing due to manual keyboard (first responder window is <UIWindow: 0x132611d00; frame = (0 0; 390 844); autoresize = W+H; gestureRecognizers = <NSArray: 0x600002df8d20>; layer = <UIWindowLayer: 0x600002df8930>>, key window is <UIWindow: 0x134008a00; frame = (0 0; 390 844); gestureRecognizers = <NSArray: 0x600002da2790>; layer = <UIWindowLayer: 0x600002da2700>>)

It's look like could not find key Window cause this issue. And when I delete scenes file, it back to work. This class could't not suitable with Scenes after iOS 13

MCAdvertiserAssistant class in MultipeerConnectivity cloud not popup "Accept" dialog
 
 
Q