Hi, I have an application, it has a helper application in its bundle. After the application starts to run, it will launch the helper application process. The helper application process will load a XPCService embedded in its bundle by launchd. But I got an error which is
Error Domain=NSOSStatusErrorDomain Code=-10811 "kLSNotAnApplicationErr: Item needs to be an application, but is not" UserInfo={_LSLine=175, _LSFunction=_LSFindBundleWithInfo_NoIOFiltered}
How can the helper application launch a XPCService embedded in its bundle? Or the XPCService can only be launched in main application?
Thanks
Topic:
App & System Services
SubTopic:
Processes & Concurrency