platform select remote-macosx
platform connect connect://macos1500beta7:1234
target create /build/dir/path/to/my.app
run
Which launches the app.
But, the launched app does not show a menu bar, or have an entry in the Dock. And in Activity Monitor the process has the same icon as when running standalone executables.
Launching the app via lldb locally on the VM does not have this issue.
Adding an explicit activationPolicy = NSApplicationActivationPolicyRegular at startup "fixes" the dock and menu entries, but the icon is still missing.
I was under the impression that target create /build/dir/path/to/my.app would be reflected 1:1 to the remote machine, and launched there, but perhaps lldb is copying over /build/dir/path/to/my.app to the remote machine? And if so, is it missing the Info.plist?
Do I need to do something extra when launching remotely to ensure this works, or is it a bug?
I've mounted the build directory of my host machine to a macOS VM, where I run (see #106854):
I then connect to the VM and launch via:
Which launches the app.
But, the launched app does not show a menu bar, or have an entry in the Dock. And in Activity Monitor the process has the same icon as when running standalone executables.
Launching the app via
lldb
locally on the VM does not have this issue.Adding an explicit
activationPolicy = NSApplicationActivationPolicyRegular
at startup "fixes" the dock and menu entries, but the icon is still missing.I was under the impression that
target create /build/dir/path/to/my.app
would be reflected 1:1 to the remote machine, and launched there, but perhapslldb
is copying over/build/dir/path/to/my.app
to the remote machine? And if so, is it missing theInfo.plist
?Do I need to do something extra when launching remotely to ensure this works, or is it a bug?