It also looks like MCBrowserViewController is unsupported on iOS 14. If I try to use it, I get
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle <...> (loaded)' with name 'MCBrowserViewController''
It sounds like you must use MCNearbyServiceBrowser instead.