Showing a Catalyst UINSSceneViewController inside an NSPopover

I have an app where I grab a Catalyst UINSSceneViewController and put it as the contentViewController in an NSPopover instance. Then I show it with
Code Block
  @objc private func statusItemClicked(_ sender: NSStatusBarButton) {
    DispatchQueue.main.async {
      self.popover.show(relativeTo: sender.bounds, of: sender, preferredEdge: .minY)
    }
  }


This works fine under Big Sur but crashes on Catalina with -[_NSPopoverWindow sceneIdentifier]: unrecognized selector sent to instance

Did anybody manage to show a Catalyst view in an NSPopover in Catalina? Am I doing something wrong?
Showing a Catalyst UINSSceneViewController inside an NSPopover
 
 
Q