简体   繁体   中英

SMJobBless and NSXPCConnection

There is an Apple SMJobBless example that show how to securely install a helper tool. SMJobBlessXPC is uses XPC (c API) over Mach ports for communication between the app and privileged helper tool.

I need SMJobBlessXPC by using NSXPCConnection (Objective c API).

You're looking for the " Even Better Authorization Sample ". It's a sample project showing how to set up a privileged helper using SMJobBless , and communicate with it using NSXPCConnection .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM