Contents

XPC updates

Learn about important changes to XPC.

Overview

Browse notable changes in XPC.

March 2024

Security

June 2023

  • Create XPC services using native Swift syntax. Use XPCListener to create an XPC server that listens for messages from other processes. Use XPCSession to create clients that connect to servers and exchange messages.

  • For C and Objective-C projects, use the corresponding xpc_listener_t and xpc_session_t APIs.

  • In Xcode, use the updated XPC services target template to choose whether you want to use the high-level NSXPCConnection or the low-level libXPC APIs.

See Also

Technology and frameworks