Learn about important changes to XPC.
Browse notable changes in XPC.
- Test whether the peer executable that communicates with your app over an XPC connection has an expected entitlement by calling xpc_connection_set_peer_entitlement_exists_requirement(_:_:)), and whether it has a specific value for an entitlement by calling xpc_connection_set_peer_entitlement_matches_value_requirement(_:_:_:)).
- Test whether the peer executable that communicates with your app over an XPC connection is an Apple platform binary with a given signing identifier by calling xpc_connection_set_peer_platform_identity_requirement(_:_:)).
- Test whether your Apple Developer team signed the peer executable that communicates with your app over an XPC connection by calling xpc_connection_set_peer_team_identity_requirement(_:_:)).
- Test whether the peer executable that communicates with your app over an XPC connection satisfies a lightweight code requirement by calling xpc_connection_set_peer_lightweight_code_requirement(_:_:)).
- 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
libXPCAPIs.
See Also
Technology updates
- Accelerate updates
- Accessibility updates
- ActivityKit updates
- AdAttributionKit Updates
- App Clips updates
- App Intents updates
- AppKit updates
- Apple Intelligence updates
- AppleMapsServerAPI Updates
- Apple Pencil updates
- ARKit updates
- Audio Toolbox updates
- AuthenticationServices updates
- AVFAudio updates
- AVFoundation updates