Hi!
Thanks for your suggestion.
The binary already makes itself the active application with NSApp.activate(ignoringOtherApps: true) but it had no effect.
Moving a binary out of its app bundle makes its window non-active so I think there something related to app bundle...
As a side note, talking about bundle, the Info.plist has Application is agent (UIElement).
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: