NSArray *activeApps = [[NSWorkspace sharedWorkspace] runningApplications];
Returns running applications and agents, but i cannot see my running XPC mach service (although it is running and visible in activity monitor processes)
even when i look up the PID in activity monitor
id res = [NSRunningApplication runningApplicationWithProcessIdentifier:223];
i get res nil, although with other processes this works well