I\'m building a menu bar in my cocoa application with the following code in the @implementation of my custom application CustomApplication:
@implementation
CustomApplication
<
I fixed by removing LSUIElement in Info.plist if the app has a Window and Menu Bar.
LSUIElement
The old solution is that we override this config with [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];, but in Catalina, it doesn't work anymore.
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];