Thanks for your help. I forgot to mention that I'm running that code from inside the main app, with the data forwarded from the extension. I'm using SecCodeCopyPath now, but there still seem to be processes that do not return a path, like trustd, rapportd, nsurlsessiond and timed. Is there an explanation for that? Also I don't understand why apps returned a path and executables didn't, if the app sandbox should prevent me from accessing anything on disk.
Topic:
App & System Services
SubTopic:
Networking
Tags: