I'm writing a Commandline app on Xcode with C++ and am trying to replace the deprecated methods KillProcess()
, GetNextProcess()
, and CopyProcessName()
. Documentation recommends using NSApplication-related methods but importing Foundation.h
and AppKit.h
results in many compiler errors.
How would one replace these deprecated methods without using NSApplication-related methods?
Thanks.