Build Information
Failed to build SecureXPC, reference 0.8.0 (d6e439
), with Swift 6.1 for tvOS using Xcode 16.3 on 27 Apr 2025 12:48:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SecureXPC -destination generic/platform=tvOS
Build Log
EmitSwiftModule normal arm64 (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:22:26: error: cannot find type 'SecCode' in scope
public let code: SecCode
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift:43:54: error: cannot find type 'SecRequirement' in scope
public static func secRequirement(_ requirement: SecRequirement) -> XPCClient.ServerRequirement {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift:161:22: error: cannot find type 'SecRequirement' in scope
let requirement: SecRequirement
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:155:29: error: cannot find type 'xpc_connection_t' in scope
private var connection: xpc_connection_t? = nil
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:169:41: error: cannot find type 'xpc_connection_t' in scope
internal func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:223:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:221:17: note: add @available attribute to enclosing instance method
public func send(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:272:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:269:17: note: add @available attribute to enclosing instance method
public func sendMessage<M: Encodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:304:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws -> R {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:302:17: note: add @available attribute to enclosing instance method
public func send<R: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:340:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws -> R {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:337:17: note: add @available attribute to enclosing instance method
public func sendMessage<M: Encodable, R: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:372:10: error: 'AsyncThrowingStream' is only available in tvOS 13.0 or newer
) -> AsyncThrowingStream<S, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:370:17: note: add @available attribute to enclosing instance method
public func send<S: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:408:10: error: 'AsyncThrowingStream' is only available in tvOS 13.0 or newer
) -> AsyncThrowingStream<S, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:405:17: note: add @available attribute to enclosing instance method
public func sendMessage<M: Encodable, S: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:478:55: error: 'UnsafeContinuation' is only available in tvOS 13.0 or newer
private func resumeContinuation<T>(_ contination: UnsafeContinuation<T, Error>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:478:18: note: add @available attribute to enclosing instance method
private func resumeContinuation<T>(_ contination: UnsafeContinuation<T, Error>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:529:25: error: 'AsyncThrowingStream' is only available in tvOS 13.0 or newer
_ continuation: AsyncThrowingStream<S, Error>.Continuation,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:528:18: note: add @available attribute to enclosing instance method
private func populateAsyncThrowingStreamContinuation<S: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:550:62: error: cannot find type 'xpc_connection_t' in scope
private func withConnection(_ handler: @escaping (Result<xpc_connection_t, XPCError>) -> Void) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:580:37: error: cannot find type 'xpc_object_t' in scope
private func handleEvent(event: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:588:37: error: cannot find type 'xpc_object_t' in scope
private func handleError(event: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:631:13: error: concurrency is only available in tvOS 13.0.0 or newer
get async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:630:16: note: add @available attribute to enclosing property
public var serverIdentity: XPCClient.ServerIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:663:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:870:35: error: cannot find type 'xpc_object_t' in scope
func handleMessage(_ message: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCEndpointClient.swift:22:50: error: cannot find type 'xpc_connection_t' in scope
internal override func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCMachClient.swift:26:50: error: cannot find type 'xpc_connection_t' in scope
internal override func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift:26:50: error: cannot find type 'xpc_connection_t' in scope
internal override func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/ArrayOptimizedForXPC.swift:103:48: error: cannot find type 'xpc_object_t' in scope
internal func encodeArrayAsData(value: Any) -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/ArrayOptimizedForXPC.swift:113:68: error: cannot find type 'xpc_object_t' in scope
internal func decodeDataAsArray<T>(arrayType: T.Type, arrayAsData: xpc_object_t) -> T? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:75:30: error: 'FileDescriptor' is only available in tvOS 14.0 or newer
public var wrappedValue: FileDescriptor
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:74:32: note: add @available attribute to enclosing struct
@propertyWrapper public struct FileDescriptorForXPC {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:78:31: error: 'FileDescriptor' is only available in tvOS 14.0 or newer
public init(wrappedValue: FileDescriptor, closeOnEncode: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:78:12: note: add @available attribute to enclosing initializer
public init(wrappedValue: FileDescriptor, closeOnEncode: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:74:32: note: add @available attribute to enclosing struct
@propertyWrapper public struct FileDescriptorForXPC {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:56:61: error: concurrency is only available in tvOS 13.0.0 or newer
static func rethrow<T>(_ handler: () async throws -> T) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:56:17: note: add @available attribute to enclosing static method
static func rethrow<T>(_ handler: () async throws -> T) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:11:15: note: add @available attribute to enclosing struct
public struct HandlerError: Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:33:16: warning: stored property 'underlyingError' of 'Sendable'-conforming struct 'HandlerError' has non-sendable type 'HandlerError.UnderlyingError'; this is an error in the Swift 6 language mode
public let underlyingError: UnderlyingError
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:14:17: note: consider making enum 'UnderlyingError' conform to the 'Sendable' protocol
public enum UnderlyingError {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift:15:16: warning: static property 'noopRoute' is not concurrency-safe because non-'Sendable' type 'XPCRouteWithoutMessageWithoutReply' may have shared mutable state; this is an error in the Swift 6 language mode
static let noopRoute = XPCRoute.named("noop").packageInternal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Routes.swift:224:15: note: consider making struct 'XPCRouteWithoutMessageWithoutReply' conform to the 'Sendable' protocol
public struct XPCRouteWithoutMessageWithoutReply {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift:15:16: note: add '@MainActor' to make static property 'noopRoute' part of global actor 'MainActor'
static let noopRoute = XPCRoute.named("noop").packageInternal
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift:15:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let noopRoute = XPCRoute.named("noop").packageInternal
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:15:20: warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let route: XPCDictionaryKey = const("__route")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:15:20: note: add '@MainActor' to make static property 'route' part of global actor 'MainActor'
static let route: XPCDictionaryKey = const("__route")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:15:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let route: XPCDictionaryKey = const("__route")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:16:20: warning: static property 'payload' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let payload: XPCDictionaryKey = const("__payload")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:16:20: note: add '@MainActor' to make static property 'payload' part of global actor 'MainActor'
static let payload: XPCDictionaryKey = const("__payload")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:16:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let payload: XPCDictionaryKey = const("__payload")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:17:20: warning: static property 'requestID' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let requestID: XPCDictionaryKey = const("__request_id")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:17:20: note: add '@MainActor' to make static property 'requestID' part of global actor 'MainActor'
static let requestID: XPCDictionaryKey = const("__request_id")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:17:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let requestID: XPCDictionaryKey = const("__request_id")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:18:20: warning: static property 'clientBookmark' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let clientBookmark: XPCDictionaryKey = const("__client_bookmark")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:18:20: note: add '@MainActor' to make static property 'clientBookmark' part of global actor 'MainActor'
static let clientBookmark: XPCDictionaryKey = const("__client_bookmark")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:18:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let clientBookmark: XPCDictionaryKey = const("__client_bookmark")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:30:21: error: cannot find type 'xpc_object_t' in scope
let dictionary: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:37:22: error: cannot find type 'xpc_object_t' in scope
init(dictionary: xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:49:50: error: cannot find type 'xpc_object_t' in scope
static func decodeClientBookmark(dictionary: xpc_object_t) throws -> Data {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:17:20: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let error: XPCDictionaryKey = const("__error")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:17:20: note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
static let error: XPCDictionaryKey = const("__error")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:17:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let error: XPCDictionaryKey = const("__error")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:18:20: warning: static property 'payload' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let payload: XPCDictionaryKey = const("__payload")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:18:20: note: add '@MainActor' to make static property 'payload' part of global actor 'MainActor'
static let payload: XPCDictionaryKey = const("__payload")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:18:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let payload: XPCDictionaryKey = const("__payload")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:19:20: warning: static property 'requestID' is not concurrency-safe because non-'Sendable' type 'XPCDictionaryKey' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
static let requestID: XPCDictionaryKey = const("__request_id")
^
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:19:20: note: add '@MainActor' to make static property 'requestID' part of global actor 'MainActor'
static let requestID: XPCDictionaryKey = const("__request_id")
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:19:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static let requestID: XPCDictionaryKey = const("__request_id")
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:27:21: error: cannot find type 'xpc_object_t' in scope
let dictionary: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:36:22: error: cannot find type 'xpc_object_t' in scope
init(dictionary: xpc_object_t, route: XPCRoute) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:48:45: error: cannot find type 'xpc_object_t' in scope
static func decodeRequestID(dictionary: xpc_object_t) throws -> UUID {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:56:82: error: cannot find type 'xpc_object_t' in scope
static func encodePayload<P: Encodable>(_ payload: P, intoReply reply: inout xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:64:71: error: cannot find type 'xpc_object_t' in scope
static func encodeError(_ error: XPCError, intoReply reply: inout xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:69:75: error: cannot find type 'xpc_object_t' in scope
static func encodeRequestID(_ requestID: UUID, intoReply reply: inout xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift:40:34: error: cannot find type 'xpc_connection_t' in scope
private weak var connection: xpc_connection_t?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift:51:59: error: cannot find type 'xpc_connection_t' in scope
init(request: Request, server: XPCServer, connection: xpc_connection_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift:123:80: error: cannot find type 'xpc_object_t' in scope
private func sendResponse(isFinished: Bool, encodingWork: @escaping (inout xpc_object_t) throws -> Void) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:10: error: 'TaskLocal()' is only available in tvOS 13.0 or newer
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:22:33: error: cannot find type 'xpc_connection_t' in scope
private let connection: xpc_connection_t
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:23:30: error: cannot find type 'xpc_object_t' in scope
private let message: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:25:34: error: cannot find type 'xpc_connection_t' in scope
private init(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:25:61: error: cannot find type 'xpc_object_t' in scope
private init(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:20: warning: static property '$currentForTask' is not concurrency-safe because non-'Sendable' type 'TaskLocal<XPCServer.ClientIdentity?>' may have shared mutable state; this is an error in the Swift 6 language mode
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: class 'ClientIdentity' does not conform to the 'Sendable' protocol
class ClientIdentity {
^
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:20: note: add '@MainActor' to make static property '$currentForTask' part of global actor 'MainActor'
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:20: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:37: error: 'TaskLocal' is only available in tvOS 13.0 or newer
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:76: error: 'TaskLocal' is only available in tvOS 13.0 or newer
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:76: warning: type 'XPCServer.ClientIdentity' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: class 'ClientIdentity' does not conform to the 'Sendable' protocol
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:38:25: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:39:22: error: cannot find type 'xpc_object_t' in scope
message: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:40:37: error: 'Task' is only available in tvOS 13.0 or newer
operation: () throws -> Task<Success, Failure>
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:37:49: note: add @available attribute to enclosing static method
@discardableResult internal static func setForTask<Success, Failure>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:41:23: error: 'Task' is only available in tvOS 13.0 or newer
) rethrows -> Task<Success, Failure> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:37:49: note: add @available attribute to enclosing static method
@discardableResult internal static func setForTask<Success, Failure>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:52:25: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:53:22: error: cannot find type 'xpc_object_t' in scope
message: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:95:33: error: cannot find type 'SecCode' in scope
public static var code: SecCode? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:160:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:160:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:42:54: error: cannot find type 'SecRequirement' in scope
public static func secRequirement(_ requirement: SecRequirement) -> XPCServer.ClientRequirement {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:129:51: error: cannot find type 'xpc_connection_t' in scope
internal func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:129:78: error: cannot find type 'xpc_object_t' in scope
internal func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:168:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:168:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:180:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:180:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:201:32: error: cannot find type 'SecRequirement' in scope
private let requirements: [SecRequirement]
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:203:36: error: cannot find type 'SecRequirement' in scope
internal init(_ requirements: [SecRequirement]) {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:210:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:210:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:256:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:256:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:298:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:298:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:322:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:322:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:337:48: error: cannot find type 'xpc_object_t' in scope
private func expandSandboxIfNecessary(message: xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:12:46: error: cannot find type 'xpc_connection_t' in scope
private let anonymousListenerConnection: xpc_connection_t
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:18:39: error: cannot find 'xpc_connection_t' in scope
private var pendingConnections = [xpc_connection_t]()
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:18:38: error: cannot call value of non-function type '[Any]'
private var pendingConnections = [xpc_connection_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:17:37: error: cannot find type 'xpc_connection_t' in scope
private let listenerConnection: xpc_connection_t
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:23:39: error: cannot find 'xpc_connection_t' in scope
private var pendingConnections = [xpc_connection_t]()
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:23:38: error: cannot call value of non-function type '[Any]'
private var pendingConnections = [xpc_connection_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:89:24: warning: static property 'machServerCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var machServerCache = [String : XPCMachServer]()
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:89:24: note: convert 'machServerCache' to a 'let' constant to make 'Sendable' shared state immutable
private static var machServerCache = [String : XPCMachServer]()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:89:24: note: add '@MainActor' to make static property 'machServerCache' part of global actor 'MainActor'
private static var machServerCache = [String : XPCMachServer]()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:89:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var machServerCache = [String : XPCMachServer]()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:338:55: error: cannot find type 'xpc_connection_t' in scope
internal func startClientConnection(_ connection: xpc_connection_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:346:42: error: cannot find type 'xpc_connection_t' in scope
private func handleEvent(connection: xpc_connection_t, event: xpc_object_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:346:67: error: cannot find type 'xpc_object_t' in scope
private func handleEvent(connection: xpc_connection_t, event: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:363:44: error: cannot find type 'xpc_connection_t' in scope
private func handleMessage(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:363:71: error: cannot find type 'xpc_object_t' in scope
private func handleMessage(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:459:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:460:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:477:48: error: cannot find type 'xpc_object_t' in scope
private func maybeSendReply(_ reply: inout xpc_object_t?, request: Request?, connection: xpc_connection_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:477:94: error: cannot find type 'xpc_connection_t' in scope
private func maybeSendReply(_ reply: inout xpc_object_t?, request: Request?, connection: xpc_connection_t) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:651:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:706:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:706:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:713:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:713:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:723:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:723:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:734:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:734:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:745:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:745:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:757:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:757:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:768:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:768:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:783:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:784:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:785:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:780:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:779:22: note: add @available attribute to enclosing protocol
fileprivate protocol XPCHandlerAsync: XPCHandler {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:796:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:797:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:798:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:793:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:789:20: note: add @available attribute to enclosing struct
fileprivate struct ConstrainedXPCHandlerWithoutMessageWithoutReplyAsync: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:812:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:813:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:814:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:809:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:805:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithMessageWithoutReplyAsync<M: Decodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:829:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:830:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:831:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:826:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:822:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithoutMessageWithReplyAsync<R: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:846:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:847:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:848:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:843:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:839:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithMessageWithReplyAsync<M: Decodable, R: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:864:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:865:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:866:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:861:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:857:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithoutMessageWithSequentialReplyAsync<S: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:881:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:882:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:883:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:878:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:874:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithMessageWithSequentialReplyAsync<M: Decodable, S: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:25:24: warning: static property 'service' is not concurrency-safe because non-'Sendable' type 'XPCServiceServer' may have shared mutable state; this is an error in the Swift 6 language mode
private static let service = XPCServiceServer(clientRequirement: .alwaysAccepting)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:13:16: note: class 'XPCServiceServer' does not conform to the 'Sendable' protocol
internal class XPCServiceServer: XPCServer {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:25:24: note: add '@MainActor' to make static property 'service' part of global actor 'MainActor'
private static let service = XPCServiceServer(clientRequirement: .alwaysAccepting)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:25:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let service = XPCServiceServer(clientRequirement: .alwaysAccepting)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:32:46: error: cannot find type 'xpc_connection_t' in scope
private var anonymousListenerConnection: xpc_connection_t?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:34:39: error: cannot find 'xpc_connection_t' in scope
private var pendingConnections = [xpc_connection_t]()
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:34:38: error: cannot call value of non-function type '[Any]'
private var pendingConnections = [xpc_connection_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared Memory/SharedRawMemory.swift:36:34: error: cannot find type 'xpc_object_t' in scope
private let rawMemoryXPCBox: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:11:12: error: cannot find type 'xpc_object_t' in scope
value: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:12:14: error: cannot find type 'xpc_type_t' in scope
xpcType: xpc_type_t,
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:13:17: error: cannot find type 'xpc_object_t' in scope
transform: (xpc_object_t) throws -> T,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:30:7: error: cannot find type 'xpc_object_t' in scope
) -> (xpc_object_t) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:48:7: error: cannot find type 'xpc_object_t' in scope
) -> (xpc_object_t) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:63:61: error: cannot find type 'xpc_object_t' in scope
internal func stringTransform(codingPath: [CodingKey]) -> ((xpc_object_t) throws -> String) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:79:20: error: cannot find 'xpc_double_get_value' in scope
let doubleValue = xpc_double_get_value(object)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:76:42: error: cannot find type 'xpc_object_t' in scope
internal let floatTransform = { (object: xpc_object_t) -> Float in
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:20:79: error: cannot find type 'xpc_object_t' in scope
static func containsKey(_ key: XPCDictionaryKey, inDictionary dictionary: xpc_object_t) throws -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:37:26: error: cannot find type 'xpc_object_t' in scope
from dictionary: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:64:17: error: cannot find type 'xpc_object_t' in scope
object: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:82:52: error: cannot find type 'xpc_object_t' in scope
private static func checkXPCDictionary(object: xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:93:76: error: cannot find type 'xpc_object_t' in scope
private static func directDecode<T: Decodable>(_ type: T.Type, object: xpc_object_t) -> T? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:13:21: error: cannot find type 'xpc_object_t' in scope
private let value: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:15:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:17:36: error: cannot find type 'xpc_object_t' in scope
private let dictionary: [String : xpc_object_t]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:19:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:44:54: error: cannot find type 'xpc_object_t' in scope
private func value(forKey key: CodingKey) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:55:50: error: cannot find type 'xpc_type_t' in scope
private func decode<T>(key: CodingKey, xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:55:74: error: cannot find type 'xpc_object_t' in scope
private func decode<T>(key: CodingKey, xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:177:50: error: cannot find type 'xpc_endpoint_t' in scope
func decodeEndpoint(forKey key: K) throws -> xpc_endpoint_t {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:199:59: error: cannot find type 'xpc_object_t' in scope
func asSharedMemoryXPCObject(forKey key: K) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:14:25: error: cannot find type 'xpc_object_t' in scope
internal let value: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:15:20: error: cannot find type 'xpc_type_t' in scope
private let type: xpc_type_t
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:17:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:28:34: error: cannot find type 'xpc_type_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:28:58: error: cannot find type 'xpc_object_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:108:62: error: cannot find type 'xpc_object_t' in scope
func accessAsEncodedValue(xpcType: xpc_type_t) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:108:40: error: cannot find type 'xpc_type_t' in scope
func accessAsEncodedValue(xpcType: xpc_type_t) throws -> xpc_object_t {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:14:37: error: cannot find type 'xpc_object_t' in scope
static func containerFor(value: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:35:22: error: cannot find type 'xpc_object_t' in scope
private let array: [xpc_object_t]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:40:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:67:55: error: cannot find type 'xpc_object_t' in scope
private func nextElement(_ type: Any.Type) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:78:34: error: cannot find type 'xpc_type_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:78:58: error: cannot find type 'xpc_object_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:224:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey]) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCContainer.swift:11:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCContainer.swift:15:14: error: cannot find type 'xpc_object_t' in scope
let object: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCContainer.swift:17:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCEncoder.swift:19:60: error: cannot find type 'xpc_object_t' in scope
static func encode<T: Encodable>(_ value: T) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCEncoder.swift:37:67: error: cannot find type 'xpc_object_t' in scope
private static func directEncode<T: Encodable>(_ value: T) -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCEncoderImpl.swift:64:41: error: cannot find type 'xpc_object_t' in scope
internal func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:21:41: error: cannot find type 'xpc_object_t' in scope
internal func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:45:33: error: cannot find type 'xpc_object_t' in scope
private func setValue(_ value: xpc_object_t, forKey key: CodingKey) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:177:26: error: cannot find type 'xpc_object_t' in scope
func encode(_ value: xpc_object_t, forKey key: K) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:18:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:26:33: error: cannot find type 'xpc_object_t' in scope
private func setValue(_ value: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:106:42: error: cannot find type 'xpc_object_t' in scope
func setAlreadyEncodedValue(_ value: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:37:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:63:31: error: cannot find type 'xpc_object_t' in scope
private func append(_ value: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/xpc_type_t+description.swift:11:20: error: cannot find type 'xpc_type_t' in scope
internal extension xpc_type_t {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:26:40: error: cannot find type 'SecStaticCode' in scope
func SecStaticCodeCopySelf() throws -> SecStaticCode {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:45:106: error: cannot find type 'SecCode' in scope
func SecCodeCreateWithXPCConnection(_ connection: xpc_connection_t, andMessage message: xpc_object_t) -> SecCode? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:45:51: error: cannot find type 'xpc_connection_t' in scope
func SecCodeCreateWithXPCConnection(_ connection: xpc_connection_t, andMessage message: xpc_object_t) -> SecCode? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:45:89: error: cannot find type 'xpc_object_t' in scope
func SecCodeCreateWithXPCConnection(_ connection: xpc_connection_t, andMessage message: xpc_object_t) -> SecCode? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:63:30: error: cannot find type 'SecCode' in scope
func SecCodeCopyPath(_ code: SecCode) -> URL? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:82:57: error: cannot find type 'xpc_connection_t' in scope
private typealias get_audit_token = @convention(c) (xpc_connection_t, UnsafeMutablePointer<audit_token_t>) -> Void
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:92:24: warning: static property 'xpc_connection_get_audit_tokenFunction' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var xpc_connection_get_audit_tokenFunction: get_audit_token = {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:92:24: note: convert 'xpc_connection_get_audit_tokenFunction' to a 'let' constant to make 'Sendable' shared state immutable
private static var xpc_connection_get_audit_tokenFunction: get_audit_token = {
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:92:24: note: add '@MainActor' to make static property 'xpc_connection_get_audit_tokenFunction' part of global actor 'MainActor'
private static var xpc_connection_get_audit_tokenFunction: get_audit_token = {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:92:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var xpc_connection_get_audit_tokenFunction: get_audit_token = {
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:114:74: error: cannot find type 'xpc_connection_t' in scope
fileprivate static func xpc_connection_get_audit_token(_ connection: xpc_connection_t) -> audit_token_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:192:74: error: cannot find type 'SecRequirement' in scope
func secRequirementForTeamIdentifier(_ teamIdentifier: String) throws -> SecRequirement {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:81:50: error: cannot find type 'xpc_object_t' in scope
internal static func fromXPCObject(_ object: xpc_object_t) -> XPCError {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:24:28: error: cannot find type 'xpc_endpoint_t' in scope
internal let endpoint: xpc_endpoint_t
^~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ XPCUnkeyedDecodingContainer.swift,\ XPCContainer.swift,\ XPCEncoder.swift,\ XPCEncoderImpl.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoder.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCAnonymousServer.swift,\ XPCMachServer.swift,\ XPCServer.swift,\ XPCServiceServer.swift,\ SharedMemory.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCKeyedEncodingContainer.swift,\ XPCSingleValueEncodingContainer.swift,\ XPCUnkeyedEncodingContainer.swift,\ xpc_type_t+description.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCKeyedEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/xpc_type_t+description.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCKeyedEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/xpc_type_t+description.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCServiceClient.swift,\ ArrayOptimizedForXPC.swift,\ DataOptimizedForXPC.swift,\ File\ Descriptor\ XPC\ Wrappers.swift,\ IOSurfaceForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/ArrayOptimizedForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/DataOptimizedForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/File\ Descriptor\ XPC\ Wrappers.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/IOSurfaceForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/ArrayOptimizedForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/DataOptimizedForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/File\ Descriptor\ XPC\ Wrappers.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/IOSurfaceForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SequentialResult.swift,\ SequentialResultProvider.swift,\ ClientIdentity.swift,\ ClientRequirement.swift,\ MachServiceCriteria.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResult.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Transformation\ functions.swift,\ XPCDecoder.swift,\ XPCDecoderImpl.swift,\ XPCKeyedDecodingContainer.swift,\ XPCSingleValueDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/Transformation\ functions.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoderImpl.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCKeyedDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/Transformation\ functions.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoder.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCKeyedDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SharedRawMemory.swift,\ SharedSemaphore.swift,\ SharedTrivial.swift,\ Trivial.swift,\ XPCCoderError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedRawMemory.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedSemaphore.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedTrivial.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Trivial.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCCoderError.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedRawMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedSemaphore.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedTrivial.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Trivial.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCCoderError.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCCommon.swift,\ XPCConnectionDescriptor.swift,\ XPCError.swift,\ XPCServerEndpoint.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCConnectionDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift (in target 'SecureXPC' from project 'SecureXPC')
Command SwiftCompile failed with a nonzero exit code
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SecureXPC (in target 'SecureXPC' from project 'SecureXPC')
EmitSwiftModule normal arm64 (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 Compiling\ XPCCommon.swift,\ XPCConnectionDescriptor.swift,\ XPCError.swift,\ XPCServerEndpoint.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCConnectionDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift (in target 'SecureXPC' from project 'SecureXPC')
Building workspace spi-builder-workspace with scheme SecureXPC
(4 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SecureXPC: /Users/admin/builder/spi-builder-workspace
resolved source packages: SecureXPC
{
"dependencies" : [
],
"manifest_display_name" : "SecureXPC",
"name" : "SecureXPC",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "SecureXPC",
"targets" : [
"SecureXPC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SecureXPCTests",
"module_type" : "SwiftTarget",
"name" : "SecureXPCTests",
"path" : "Tests/SecureXPCTests",
"sources" : [
"Client & Server/Endpoint Tests.swift",
"Client & Server/Error Integration Tests.swift",
"Client & Server/RequestContext Tests.swift",
"Client & Server/Round-trip Integration Test.swift",
"Client & Server/Sequential Result Tests.swift",
"Client & Server/Server Concurrency Tests.swift",
"Client & Server/Server Error Handler Test.swift",
"Client & Server/Server Identity Tests.swift",
"Client & Server/XPCServer Creation.swift",
"Encoder & Decoder/Round Trip/Array roundtrip tests.swift",
"Encoder & Decoder/Round Trip/ArrayOptimizedForXPC Tests.swift",
"Encoder & Decoder/Round Trip/Class round trip tests.swift",
"Encoder & Decoder/Round Trip/DataOptimizedForXPC Tests.swift",
"Encoder & Decoder/Round Trip/Dictionary roundtrip tests.swift",
"Encoder & Decoder/Round Trip/Endpoint roundtrip tests.swift",
"Encoder & Decoder/Round Trip/File Descriptor XPC Wrapper Tests.swift",
"Encoder & Decoder/Round Trip/IOSurfaceForXPC Tests.swift",
"Encoder & Decoder/Round Trip/Scalar roundtrip tests.swift",
"Encoder & Decoder/Round Trip/Unkeyed container roundtrip tests.swift",
"Encoder & Decoder/TestHelpers.swift",
"Encoder & Decoder/XPCDecoder/Array decoding tests.swift",
"Encoder & Decoder/XPCDecoder/Dictionary decoding tests.swift",
"Encoder & Decoder/XPCDecoder/Scalar decoding tests.swift",
"Encoder & Decoder/XPCEncoder/Array encoding tests.swift",
"Encoder & Decoder/XPCEncoder/Dictionary encoding tests.swift",
"Encoder & Decoder/XPCEncoder/Scalar encoding tests.swift",
"Multiprocess Client & Server/LaunchAgent Tests.swift",
"Multiprocess Client & Server/LaunchAgent/LaunchAgent.swift",
"Multiprocess Client & Server/LaunchAgent/Shared.swift",
"Multiprocess Client & Server/LaunchAgent/main.swift"
],
"target_dependencies" : [
"SecureXPC"
],
"type" : "test"
},
{
"c99name" : "SecureXPC",
"module_type" : "SwiftTarget",
"name" : "SecureXPC",
"path" : "Sources/SecureXPC",
"product_memberships" : [
"SecureXPC"
],
"sources" : [
"Client/ServerIdentity.swift",
"Client/ServerRequirement.swift",
"Client/XPCClient.swift",
"Client/XPCEndpointClient.swift",
"Client/XPCMachClient.swift",
"Client/XPCServiceClient.swift",
"Codable Types/ArrayOptimizedForXPC.swift",
"Codable Types/DataOptimizedForXPC.swift",
"Codable Types/File Descriptor XPC Wrappers.swift",
"Codable Types/IOSurfaceForXPC.swift",
"HandlerError.swift",
"PackageInternalRoutes.swift",
"Request.swift",
"Response.swift",
"Routes.swift",
"SequentialResult.swift",
"SequentialResultProvider.swift",
"Server/ClientIdentity.swift",
"Server/ClientRequirement.swift",
"Server/MachServiceCriteria.swift",
"Server/XPCAnonymousServer.swift",
"Server/XPCMachServer.swift",
"Server/XPCServer.swift",
"Server/XPCServiceServer.swift",
"Shared Memory/SharedMemory.swift",
"Shared Memory/SharedRawMemory.swift",
"Shared Memory/SharedSemaphore.swift",
"Shared Memory/SharedTrivial.swift",
"Trivial.swift",
"XPC Coders/XPCCoderError.swift",
"XPC Coders/XPCDecoder/Transformation functions.swift",
"XPC Coders/XPCDecoder/XPCDecoder.swift",
"XPC Coders/XPCDecoder/XPCDecoderImpl.swift",
"XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift",
"XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift",
"XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift",
"XPC Coders/XPCEncoder/XPCContainer.swift",
"XPC Coders/XPCEncoder/XPCEncoder.swift",
"XPC Coders/XPCEncoder/XPCEncoderImpl.swift",
"XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift",
"XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift",
"XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift",
"XPC Coders/xpc_type_t+description.swift",
"XPCCommon.swift",
"XPCConnectionDescriptor.swift",
"XPCError.swift",
"XPCServerEndpoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"SecureXPC"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SecureXPC -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SecureXPC -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
SecureXPC: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SecureXPC' in project 'SecureXPC'
➜ Explicit dependency on target 'SecureXPC' in project 'SecureXPC'
Target 'SecureXPC' in project 'SecureXPC' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 739754c413e80ebe063cfa9c2bc6b2f8
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/739754c413e80ebe063cfa9c2bc6b2f8.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
SwiftDriver SecureXPC normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SecureXPC -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ ServerIdentity.swift,\ ServerRequirement.swift,\ XPCClient.swift,\ XPCEndpointClient.swift,\ XPCMachClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCEndpointClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCMachClient.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCEndpointClient.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCMachClient.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCAnonymousServer.swift,\ XPCMachServer.swift,\ XPCServer.swift,\ XPCServiceServer.swift,\ SharedMemory.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SharedRawMemory.swift,\ SharedSemaphore.swift,\ SharedTrivial.swift,\ Trivial.swift,\ XPCCoderError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedRawMemory.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedSemaphore.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedTrivial.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Trivial.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCCoderError.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedRawMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedSemaphore.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedTrivial.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Trivial.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCCoderError.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ Transformation\ functions.swift,\ XPCDecoder.swift,\ XPCDecoderImpl.swift,\ XPCKeyedDecodingContainer.swift,\ XPCSingleValueDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/Transformation\ functions.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoderImpl.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCKeyedDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/Transformation\ functions.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoder.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCKeyedDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ HandlerError.swift,\ PackageInternalRoutes.swift,\ Request.swift,\ Response.swift,\ Routes.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Routes.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Routes.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ SecureXPC (in target 'SecureXPC' from project 'SecureXPC')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCEndpointClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCMachClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/ArrayOptimizedForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/DataOptimizedForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/File\ Descriptor\ XPC\ Wrappers.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/IOSurfaceForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Routes.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedMemory.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedRawMemory.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedSemaphore.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedTrivial.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Trivial.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCCoderError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/Transformation\ functions.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoderImpl.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCKeyedDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoderImpl.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCKeyedEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/xpc_type_t+description.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCConnectionDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SecureXPC -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-appletvos/SecureXPC.build/Objects-normal/arm64/SecureXPC.abi.json
EmitSwiftModule normal arm64 (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerIdentity.swift:22:26: error: cannot find type 'SecCode' in scope
public let code: SecCode
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift:43:54: error: cannot find type 'SecRequirement' in scope
public static func secRequirement(_ requirement: SecRequirement) -> XPCClient.ServerRequirement {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift:161:22: error: cannot find type 'SecRequirement' in scope
let requirement: SecRequirement
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:155:29: error: cannot find type 'xpc_connection_t' in scope
private var connection: xpc_connection_t? = nil
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:169:41: error: cannot find type 'xpc_connection_t' in scope
internal func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:223:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:221:17: note: add @available attribute to enclosing instance method
public func send(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:272:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:269:17: note: add @available attribute to enclosing instance method
public func sendMessage<M: Encodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:304:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws -> R {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:302:17: note: add @available attribute to enclosing instance method
public func send<R: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:340:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws -> R {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:337:17: note: add @available attribute to enclosing instance method
public func sendMessage<M: Encodable, R: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:372:10: error: 'AsyncThrowingStream' is only available in tvOS 13.0 or newer
) -> AsyncThrowingStream<S, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:370:17: note: add @available attribute to enclosing instance method
public func send<S: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:408:10: error: 'AsyncThrowingStream' is only available in tvOS 13.0 or newer
) -> AsyncThrowingStream<S, Error> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:405:17: note: add @available attribute to enclosing instance method
public func sendMessage<M: Encodable, S: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:478:55: error: 'UnsafeContinuation' is only available in tvOS 13.0 or newer
private func resumeContinuation<T>(_ contination: UnsafeContinuation<T, Error>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:478:18: note: add @available attribute to enclosing instance method
private func resumeContinuation<T>(_ contination: UnsafeContinuation<T, Error>,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:529:25: error: 'AsyncThrowingStream' is only available in tvOS 13.0 or newer
_ continuation: AsyncThrowingStream<S, Error>.Continuation,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:528:18: note: add @available attribute to enclosing instance method
private func populateAsyncThrowingStreamContinuation<S: Decodable>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:550:62: error: cannot find type 'xpc_connection_t' in scope
private func withConnection(_ handler: @escaping (Result<xpc_connection_t, XPCError>) -> Void) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:580:37: error: cannot find type 'xpc_object_t' in scope
private func handleEvent(event: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:588:37: error: cannot find type 'xpc_object_t' in scope
private func handleError(event: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:631:13: error: concurrency is only available in tvOS 13.0.0 or newer
get async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:630:16: note: add @available attribute to enclosing property
public var serverIdentity: XPCClient.ServerIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:151:14: note: add @available attribute to enclosing class
public class XPCClient {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:663:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:870:35: error: cannot find type 'xpc_object_t' in scope
func handleMessage(_ message: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCEndpointClient.swift:22:50: error: cannot find type 'xpc_connection_t' in scope
internal override func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCMachClient.swift:26:50: error: cannot find type 'xpc_connection_t' in scope
internal override func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift:26:50: error: cannot find type 'xpc_connection_t' in scope
internal override func createConnection() -> xpc_connection_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/ArrayOptimizedForXPC.swift:103:48: error: cannot find type 'xpc_object_t' in scope
internal func encodeArrayAsData(value: Any) -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/ArrayOptimizedForXPC.swift:113:68: error: cannot find type 'xpc_object_t' in scope
internal func decodeDataAsArray<T>(arrayType: T.Type, arrayAsData: xpc_object_t) -> T? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:75:30: error: 'FileDescriptor' is only available in tvOS 14.0 or newer
public var wrappedValue: FileDescriptor
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:74:32: note: add @available attribute to enclosing struct
@propertyWrapper public struct FileDescriptorForXPC {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:78:31: error: 'FileDescriptor' is only available in tvOS 14.0 or newer
public init(wrappedValue: FileDescriptor, closeOnEncode: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:78:12: note: add @available attribute to enclosing initializer
public init(wrappedValue: FileDescriptor, closeOnEncode: Bool = true) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable Types/File Descriptor XPC Wrappers.swift:74:32: note: add @available attribute to enclosing struct
@propertyWrapper public struct FileDescriptorForXPC {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:56:61: error: concurrency is only available in tvOS 13.0.0 or newer
static func rethrow<T>(_ handler: () async throws -> T) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:56:17: note: add @available attribute to enclosing static method
static func rethrow<T>(_ handler: () async throws -> T) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift:11:15: note: add @available attribute to enclosing struct
public struct HandlerError: Error {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:30:21: error: cannot find type 'xpc_object_t' in scope
let dictionary: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:37:22: error: cannot find type 'xpc_object_t' in scope
init(dictionary: xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:49:50: error: cannot find type 'xpc_object_t' in scope
static func decodeClientBookmark(dictionary: xpc_object_t) throws -> Data {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:27:21: error: cannot find type 'xpc_object_t' in scope
let dictionary: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:36:22: error: cannot find type 'xpc_object_t' in scope
init(dictionary: xpc_object_t, route: XPCRoute) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:48:45: error: cannot find type 'xpc_object_t' in scope
static func decodeRequestID(dictionary: xpc_object_t) throws -> UUID {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:56:82: error: cannot find type 'xpc_object_t' in scope
static func encodePayload<P: Encodable>(_ payload: P, intoReply reply: inout xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:64:71: error: cannot find type 'xpc_object_t' in scope
static func encodeError(_ error: XPCError, intoReply reply: inout xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:69:75: error: cannot find type 'xpc_object_t' in scope
static func encodeRequestID(_ requestID: UUID, intoReply reply: inout xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift:40:34: error: cannot find type 'xpc_connection_t' in scope
private weak var connection: xpc_connection_t?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift:51:59: error: cannot find type 'xpc_connection_t' in scope
init(request: Request, server: XPCServer, connection: xpc_connection_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/SequentialResultProvider.swift:123:80: error: cannot find type 'xpc_object_t' in scope
private func sendResponse(isFinished: Bool, encodingWork: @escaping (inout xpc_object_t) throws -> Void) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:10: error: 'TaskLocal()' is only available in tvOS 13.0 or newer
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:22:33: error: cannot find type 'xpc_connection_t' in scope
private let connection: xpc_connection_t
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:23:30: error: cannot find type 'xpc_object_t' in scope
private let message: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:25:34: error: cannot find type 'xpc_connection_t' in scope
private init(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:25:61: error: cannot find type 'xpc_object_t' in scope
private init(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:37: error: 'TaskLocal' is only available in tvOS 13.0 or newer
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
@__swiftmacro_9SecureXPC9XPCServerC14ClientIdentityC14currentForTask33_5BF2FCB367112F65674453E484FAF8E8LL0H5LocalfMp_.swift:1:76: error: 'TaskLocal' is only available in tvOS 13.0 or newer
private static let $currentForTask: TaskLocal<XPCServer.ClientIdentity?> = TaskLocal(wrappedValue: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:33:9: note: in expansion of macro 'TaskLocal' on static property 'currentForTask' here
@TaskLocal
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:38:25: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:39:22: error: cannot find type 'xpc_object_t' in scope
message: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:40:37: error: 'Task' is only available in tvOS 13.0 or newer
operation: () throws -> Task<Success, Failure>
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:37:49: note: add @available attribute to enclosing static method
@discardableResult internal static func setForTask<Success, Failure>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:41:23: error: 'Task' is only available in tvOS 13.0 or newer
) rethrows -> Task<Success, Failure> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:37:49: note: add @available attribute to enclosing static method
@discardableResult internal static func setForTask<Success, Failure>(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:21:11: note: add @available attribute to enclosing class
class ClientIdentity {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:52:25: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:53:22: error: cannot find type 'xpc_object_t' in scope
message: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift:95:33: error: cannot find type 'SecCode' in scope
public static var code: SecCode? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:160:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:160:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:42:54: error: cannot find type 'SecRequirement' in scope
public static func secRequirement(_ requirement: SecRequirement) -> XPCServer.ClientRequirement {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:129:51: error: cannot find type 'xpc_connection_t' in scope
internal func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:129:78: error: cannot find type 'xpc_object_t' in scope
internal func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:168:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:168:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:180:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:180:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:201:32: error: cannot find type 'SecRequirement' in scope
private let requirements: [SecRequirement]
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:203:36: error: cannot find type 'SecRequirement' in scope
internal init(_ requirements: [SecRequirement]) {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:210:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:210:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:256:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:256:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:298:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:298:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:322:42: error: cannot find type 'xpc_connection_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:322:69: error: cannot find type 'xpc_object_t' in scope
func shouldAcceptMessage(connection: xpc_connection_t, message: xpc_object_t) -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:337:48: error: cannot find type 'xpc_object_t' in scope
private func expandSandboxIfNecessary(message: xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:12:46: error: cannot find type 'xpc_connection_t' in scope
private let anonymousListenerConnection: xpc_connection_t
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:18:39: error: cannot find 'xpc_connection_t' in scope
private var pendingConnections = [xpc_connection_t]()
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:18:38: error: cannot call value of non-function type '[Any]'
private var pendingConnections = [xpc_connection_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:17:37: error: cannot find type 'xpc_connection_t' in scope
private let listenerConnection: xpc_connection_t
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:23:39: error: cannot find 'xpc_connection_t' in scope
private var pendingConnections = [xpc_connection_t]()
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:23:38: error: cannot call value of non-function type '[Any]'
private var pendingConnections = [xpc_connection_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:338:55: error: cannot find type 'xpc_connection_t' in scope
internal func startClientConnection(_ connection: xpc_connection_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:346:42: error: cannot find type 'xpc_connection_t' in scope
private func handleEvent(connection: xpc_connection_t, event: xpc_object_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:346:67: error: cannot find type 'xpc_object_t' in scope
private func handleEvent(connection: xpc_connection_t, event: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:363:44: error: cannot find type 'xpc_connection_t' in scope
private func handleMessage(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:363:71: error: cannot find type 'xpc_object_t' in scope
private func handleMessage(connection: xpc_connection_t, message: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:459:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:460:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:477:48: error: cannot find type 'xpc_object_t' in scope
private func maybeSendReply(_ reply: inout xpc_object_t?, request: Request?, connection: xpc_connection_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:477:94: error: cannot find type 'xpc_connection_t' in scope
private func maybeSendReply(_ reply: inout xpc_object_t?, request: Request?, connection: xpc_connection_t) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:651:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:706:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:706:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:713:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:713:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:723:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:723:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:734:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:734:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:745:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:745:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:757:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:757:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:768:66: error: cannot find type 'xpc_connection_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:768:97: error: cannot find type 'xpc_object_t' in scope
func handle(request: Request, server: XPCServer, connection: xpc_connection_t, reply: inout xpc_object_t?) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:783:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:784:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:785:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:780:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:779:22: note: add @available attribute to enclosing protocol
fileprivate protocol XPCHandlerAsync: XPCHandler {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:796:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:797:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:798:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:793:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:789:20: note: add @available attribute to enclosing struct
fileprivate struct ConstrainedXPCHandlerWithoutMessageWithoutReplyAsync: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:812:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:813:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:814:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:809:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:805:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithMessageWithoutReplyAsync<M: Decodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:829:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:830:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:831:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:826:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:822:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithoutMessageWithReplyAsync<R: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:846:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:847:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:848:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:843:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:839:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithMessageWithReplyAsync<M: Decodable, R: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:864:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:865:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:866:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:861:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:857:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithoutMessageWithSequentialReplyAsync<S: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:881:21: error: cannot find type 'xpc_connection_t' in scope
connection: xpc_connection_t,
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:882:22: error: cannot find type 'xpc_object_t' in scope
reply: inout xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:883:7: error: concurrency is only available in tvOS 13.0.0 or newer
) async throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:878:10: note: add @available attribute to enclosing instance method
func handle(
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:874:20: note: add @available attribute to enclosing generic struct
fileprivate struct ConstrainedXPCHandlerWithMessageWithSequentialReplyAsync<M: Decodable, S: Encodable>: XPCHandlerAsync {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:32:46: error: cannot find type 'xpc_connection_t' in scope
private var anonymousListenerConnection: xpc_connection_t?
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:34:39: error: cannot find 'xpc_connection_t' in scope
private var pendingConnections = [xpc_connection_t]()
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:34:38: error: cannot call value of non-function type '[Any]'
private var pendingConnections = [xpc_connection_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared Memory/SharedRawMemory.swift:36:34: error: cannot find type 'xpc_object_t' in scope
private let rawMemoryXPCBox: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:11:12: error: cannot find type 'xpc_object_t' in scope
value: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:12:14: error: cannot find type 'xpc_type_t' in scope
xpcType: xpc_type_t,
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:13:17: error: cannot find type 'xpc_object_t' in scope
transform: (xpc_object_t) throws -> T,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:30:7: error: cannot find type 'xpc_object_t' in scope
) -> (xpc_object_t) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:48:7: error: cannot find type 'xpc_object_t' in scope
) -> (xpc_object_t) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:63:61: error: cannot find type 'xpc_object_t' in scope
internal func stringTransform(codingPath: [CodingKey]) -> ((xpc_object_t) throws -> String) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:79:20: error: cannot find 'xpc_double_get_value' in scope
let doubleValue = xpc_double_get_value(object)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:76:42: error: cannot find type 'xpc_object_t' in scope
internal let floatTransform = { (object: xpc_object_t) -> Float in
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:20:79: error: cannot find type 'xpc_object_t' in scope
static func containsKey(_ key: XPCDictionaryKey, inDictionary dictionary: xpc_object_t) throws -> Bool {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:37:26: error: cannot find type 'xpc_object_t' in scope
from dictionary: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:64:17: error: cannot find type 'xpc_object_t' in scope
object: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:82:52: error: cannot find type 'xpc_object_t' in scope
private static func checkXPCDictionary(object: xpc_object_t) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:93:76: error: cannot find type 'xpc_object_t' in scope
private static func directDecode<T: Decodable>(_ type: T.Type, object: xpc_object_t) -> T? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:13:21: error: cannot find type 'xpc_object_t' in scope
private let value: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:15:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:17:36: error: cannot find type 'xpc_object_t' in scope
private let dictionary: [String : xpc_object_t]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:19:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:44:54: error: cannot find type 'xpc_object_t' in scope
private func value(forKey key: CodingKey) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:55:50: error: cannot find type 'xpc_type_t' in scope
private func decode<T>(key: CodingKey, xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:55:74: error: cannot find type 'xpc_object_t' in scope
private func decode<T>(key: CodingKey, xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:177:50: error: cannot find type 'xpc_endpoint_t' in scope
func decodeEndpoint(forKey key: K) throws -> xpc_endpoint_t {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:199:59: error: cannot find type 'xpc_object_t' in scope
func asSharedMemoryXPCObject(forKey key: K) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:14:25: error: cannot find type 'xpc_object_t' in scope
internal let value: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:15:20: error: cannot find type 'xpc_type_t' in scope
private let type: xpc_type_t
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:17:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:28:34: error: cannot find type 'xpc_type_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:28:58: error: cannot find type 'xpc_object_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:108:62: error: cannot find type 'xpc_object_t' in scope
func accessAsEncodedValue(xpcType: xpc_type_t) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:108:40: error: cannot find type 'xpc_type_t' in scope
func accessAsEncodedValue(xpcType: xpc_type_t) throws -> xpc_object_t {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:14:37: error: cannot find type 'xpc_object_t' in scope
static func containerFor(value: xpc_object_t,
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:35:22: error: cannot find type 'xpc_object_t' in scope
private let array: [xpc_object_t]
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:40:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey], userInfo: [CodingUserInfoKey : Any]) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:67:55: error: cannot find type 'xpc_object_t' in scope
private func nextElement(_ type: Any.Type) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:78:34: error: cannot find type 'xpc_type_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:78:58: error: cannot find type 'xpc_object_t' in scope
private func decode<T>(xpcType: xpc_type_t, transform: (xpc_object_t) throws -> T) throws -> T {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:224:17: error: cannot find type 'xpc_object_t' in scope
init(value: xpc_object_t, codingPath: [CodingKey]) throws {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCContainer.swift:11:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t?
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCContainer.swift:15:14: error: cannot find type 'xpc_object_t' in scope
let object: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCContainer.swift:17:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCEncoder.swift:19:60: error: cannot find type 'xpc_object_t' in scope
static func encode<T: Encodable>(_ value: T) throws -> xpc_object_t {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCEncoder.swift:37:67: error: cannot find type 'xpc_object_t' in scope
private static func directEncode<T: Encodable>(_ value: T) -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCEncoderImpl.swift:64:41: error: cannot find type 'xpc_object_t' in scope
internal func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:21:41: error: cannot find type 'xpc_object_t' in scope
internal func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:45:33: error: cannot find type 'xpc_object_t' in scope
private func setValue(_ value: xpc_object_t, forKey key: CodingKey) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:177:26: error: cannot find type 'xpc_object_t' in scope
func encode(_ value: xpc_object_t, forKey key: K) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:18:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:26:33: error: cannot find type 'xpc_object_t' in scope
private func setValue(_ value: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:106:42: error: cannot find type 'xpc_object_t' in scope
func setAlreadyEncodedValue(_ value: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:37:32: error: cannot find type 'xpc_object_t' in scope
func encodedValue() throws -> xpc_object_t? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:63:31: error: cannot find type 'xpc_object_t' in scope
private func append(_ value: xpc_object_t) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/xpc_type_t+description.swift:11:20: error: cannot find type 'xpc_type_t' in scope
internal extension xpc_type_t {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:26:40: error: cannot find type 'SecStaticCode' in scope
func SecStaticCodeCopySelf() throws -> SecStaticCode {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:45:106: error: cannot find type 'SecCode' in scope
func SecCodeCreateWithXPCConnection(_ connection: xpc_connection_t, andMessage message: xpc_object_t) -> SecCode? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:45:51: error: cannot find type 'xpc_connection_t' in scope
func SecCodeCreateWithXPCConnection(_ connection: xpc_connection_t, andMessage message: xpc_object_t) -> SecCode? {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:45:89: error: cannot find type 'xpc_object_t' in scope
func SecCodeCreateWithXPCConnection(_ connection: xpc_connection_t, andMessage message: xpc_object_t) -> SecCode? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:63:30: error: cannot find type 'SecCode' in scope
func SecCodeCopyPath(_ code: SecCode) -> URL? {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:82:57: error: cannot find type 'xpc_connection_t' in scope
private typealias get_audit_token = @convention(c) (xpc_connection_t, UnsafeMutablePointer<audit_token_t>) -> Void
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:114:74: error: cannot find type 'xpc_connection_t' in scope
fileprivate static func xpc_connection_get_audit_token(_ connection: xpc_connection_t) -> audit_token_t {
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:192:74: error: cannot find type 'SecRequirement' in scope
func secRequirementForTeamIdentifier(_ teamIdentifier: String) throws -> SecRequirement {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:81:50: error: cannot find type 'xpc_object_t' in scope
internal static func fromXPCObject(_ object: xpc_object_t) -> XPCError {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:24:28: error: cannot find type 'xpc_endpoint_t' in scope
internal let endpoint: xpc_endpoint_t
^~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ XPCUnkeyedDecodingContainer.swift,\ XPCContainer.swift,\ XPCEncoder.swift,\ XPCEncoderImpl.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoder.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCCommon.swift,\ XPCConnectionDescriptor.swift,\ XPCError.swift,\ XPCServerEndpoint.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCConnectionDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCConnectionDescriptor.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCServiceClient.swift,\ ArrayOptimizedForXPC.swift,\ DataOptimizedForXPC.swift,\ File\ Descriptor\ XPC\ Wrappers.swift,\ IOSurfaceForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/ArrayOptimizedForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/DataOptimizedForXPC.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/File\ Descriptor\ XPC\ Wrappers.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/IOSurfaceForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/ArrayOptimizedForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/DataOptimizedForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/File\ Descriptor\ XPC\ Wrappers.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/IOSurfaceForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCKeyedEncodingContainer.swift,\ XPCSingleValueEncodingContainer.swift,\ XPCUnkeyedEncodingContainer.swift,\ xpc_type_t+description.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCKeyedEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/xpc_type_t+description.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCKeyedEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/xpc_type_t+description.swift (in target 'SecureXPC' from project 'SecureXPC')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SecureXPC (in target 'SecureXPC' from project 'SecureXPC')
EmitSwiftModule normal arm64 (in target 'SecureXPC' from project 'SecureXPC')
Building workspace spi-builder-workspace with scheme SecureXPC
(3 failures)
BUILD FAILURE 6.1 tvOS