Empty process name for Cocoa OSX application?

I am developing an OSX application ( Clarke ) that works with the LSUIElement set (only in the system menu - there is no tray icon, it doesn't work in cmd-tab).

This works fine, but someone just pointed out that there is an empty process name in the Activity Monitor list. It just says nothing. Everything else in it is a name. Even other applications running in LSUIElement.

I tried to search the Internet, but I can’t say that someone was talking about this. What should I look for?

+4
source share
2 answers

Turns out I have a CFBundleDisplayName key, but empty. That solves it.

+9
source

Wild hunch: check CFBundleName name in Info.plist. Be sure to set and not empty.

+5
source

Source: https://habr.com/ru/post/1286774/


All Articles