API Differences in XPC in macOS 15.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in XPC in the macOS 15.0 SDK.

Table of Contents

Structs

XPCEndpoint

Functions & Methods

XPCEndpoint
public static func == (a: XPC.XPCEndpoint, b: XPC.XPCEndpoint) -> Swift.Bool
XPCEndpoint
public func encode(to encoder: any Swift.Encoder) throws
XPCEndpoint
public func hash(into hasher: inout Swift.Hasher)

Properties & Constants

XPCEndpoint
public var debugDescription: Swift.String
XPCEndpoint
public var hashValue: Swift.Int
XPCListener
public var endpoint: XPC.XPCEndpoint
public var XPC_ERROR_PEER_CODE_SIGNING_REQUIREMENT: XPC.xpc_object_t

Conformances

XPCEndpoint
Swift.Codable
XPCEndpoint
Swift.CustomDebugStringConvertible
XPCEndpoint
Swift.Equatable
XPCEndpoint
Swift.Hashable

Initializers

XPCEndpoint
public init(from decoder: any Swift.Decoder) throws
XPCListener
public init(targetQueue: Dispatch.DispatchQueue? = nil, options: XPC.XPCListener.InitializationOptions = .none, incomingSessionHandler: @escaping @Sendable (XPC.XPCListener.IncomingSessionRequest) -> XPC.XPCListener.IncomingSessionRequest.Decision)
XPCSession
convenience public init(endpoint: XPC.XPCEndpoint, targetQueue: Dispatch.DispatchQueue? = nil, options: XPC.XPCSession.InitializationOptions = .none, cancellationHandler: (@Sendable (XPC.XPCRichError) -> Swift.Void)? = nil) throws
XPCSession
convenience public init(endpoint: XPC.XPCEndpoint, targetQueue: Dispatch.DispatchQueue? = nil, options: XPC.XPCSession.InitializationOptions = .none, incomingMessageHandler: (@Sendable (XPC.XPCDictionary) -> XPC.XPCDictionary?)? = nil, cancellationHandler: (@Sendable (XPC.XPCRichError) -> Swift.Void)? = nil) throws
XPCSession
convenience public init<Message>(endpoint: XPC.XPCEndpoint, targetQueue: Dispatch.DispatchQueue? = nil, options: XPC.XPCSession.InitializationOptions = .none, incomingMessageHandler: (@Sendable (Message) -> (any Swift.Encodable)?)? = nil, cancellationHandler: (@Sendable (XPC.XPCRichError) -> Swift.Void)? = nil) throws where Message : Swift.Decodable
XPCSession
convenience public init(endpoint: XPC.XPCEndpoint, targetQueue: Dispatch.DispatchQueue? = nil, options: XPC.XPCSession.InitializationOptions = .none, incomingMessageHandler: (@Sendable (XPC.XPCReceivedMessage) -> (any Swift.Encodable)?)? = nil, cancellationHandler: (@Sendable (XPC.XPCRichError) -> Swift.Void)? = nil) throws