Build Information
Failed to build SecureXPC, reference 0.8.0 (d6e439
), with Swift 6.2 (beta) for visionOS using Xcode 26.0 on 20 Jun 2025 04:37:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SecureXPC -destination generic/platform=xrOS
Build Log
return self.requirements.contains { SecCodeCheckValidity(code, SecCSFlags(), $0) == errSecSuccess }
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:232:16: error: cannot find 'SecRequirementCopyData' in scope
if SecRequirementCopyData(requirement, SecCSFlags(), &data) == errSecSuccess, let data = data as Data? {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:232:52: error: cannot find 'SecCSFlags' in scope
if SecRequirementCopyData(requirement, SecCSFlags(), &data) == errSecSuccess, let data = data as Data? {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift:230:52: error: cannot find type 'SecRequirement' in scope
let requirementTransform = { (requirement: SecRequirement) -> Data? in
^~~~~~~~~~~~~~
/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/Request.swift:49:50: error: cannot find type 'xpc_object_t' in scope
static func decodeClientBookmark(dictionary: xpc_object_t) throws -> Data {
^~~~~~~~~~~~
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
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:301:48: error: cannot find 'MH_EXECUTE_SYM' in scope
guard let mhExecutePointer = dlsym(handle, MH_EXECUTE_SYM) else {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:304:74: error: cannot find 'mach_header_64' in scope
let mhExecuteBoundPointer = mhExecutePointer.assumingMemoryBound(to: mach_header_64.self)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:307:25: error: cannot find 'getsectiondata' in scope
guard let section = getsectiondata(mhExecuteBoundPointer, "__TEXT", sectionName, &size) else {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:335:42: error: cannot find 'MH_MAGIC' in scope
let machOMagicValues: Set<UInt32> = [MH_MAGIC, MH_CIGAM, MH_MAGIC_64, MH_CIGAM_64, FAT_MAGIC, FAT_CIGAM]
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:335:52: error: cannot find 'MH_CIGAM' in scope
let machOMagicValues: Set<UInt32> = [MH_MAGIC, MH_CIGAM, MH_MAGIC_64, MH_CIGAM_64, FAT_MAGIC, FAT_CIGAM]
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:335:62: error: cannot find 'MH_MAGIC_64' in scope
let machOMagicValues: Set<UInt32> = [MH_MAGIC, MH_CIGAM, MH_MAGIC_64, MH_CIGAM_64, FAT_MAGIC, FAT_CIGAM]
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:335:75: error: cannot find 'MH_CIGAM_64' in scope
let machOMagicValues: Set<UInt32> = [MH_MAGIC, MH_CIGAM, MH_MAGIC_64, MH_CIGAM_64, FAT_MAGIC, FAT_CIGAM]
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:335:88: error: cannot find 'FAT_MAGIC' in scope
let machOMagicValues: Set<UInt32> = [MH_MAGIC, MH_CIGAM, MH_MAGIC_64, MH_CIGAM_64, FAT_MAGIC, FAT_CIGAM]
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:335:99: error: cannot find 'FAT_CIGAM' in scope
let machOMagicValues: Set<UInt32> = [MH_MAGIC, MH_CIGAM, MH_MAGIC_64, MH_CIGAM_64, FAT_MAGIC, FAT_CIGAM]
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:392:26: error: cannot find type 'SecRequirement' in scope
var requirement: SecRequirement?
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:393:15: error: cannot find 'SecRequirementCreateWithString' in scope
guard SecRequirementCreateWithString(client as CFString, SecCSFlags(), &requirement) == errSecSuccess,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift:393:66: error: cannot find 'SecCSFlags' in scope
guard SecRequirementCreateWithString(client as CFString, SecCSFlags(), &requirement) == errSecSuccess,
^~~~~~~~~~
/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 {
^~~~~~~~~~~~~~
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')
Failed frontend command:
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /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 -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/HandlerError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/PackageInternalRoutes.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift -primary-file /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 -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/supplementaryOutputs-3 -target arm64-apple-xros1.0 -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/SecureXPC-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.0.sdk/Developer/Library/Frameworks -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/SecureXPC_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -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 -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/xros26.0-23M5263k-63777232b7fc5220f33897c1cc69dbf5.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SecureXPC -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name xros26.0 -clang-target arm64-apple-xros26.0 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/HandlerError.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/PackageInternalRoutes.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/Request.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/Response.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/Routes.o -index-unit-output-path /SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/HandlerError.o -index-unit-output-path /SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/PackageInternalRoutes.o -index-unit-output-path /SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/Request.o -index-unit-output-path /SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/Response.o -index-unit-output-path /SecureXPC.build/Debug-xros/SecureXPC.build/Objects-normal/arm64/Routes.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
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
/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/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: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/Request.swift:62:27: error: cannot find 'xpc_dictionary_create' in scope
self.dictionary = xpc_dictionary_create(nil, nil, 0)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:62:49: error: 'nil' requires a contextual type
self.dictionary = xpc_dictionary_create(nil, nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:62:54: error: 'nil' requires a contextual type
self.dictionary = xpc_dictionary_create(nil, nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:63:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.route, try XPCEncoder.encode(route))
^~~~~~~~~~~~~~~~~~~~~~~~
/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/Request.swift:64:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.requestID, try XPCEncoder.encode(requestID))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:65:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.clientBookmark, try XPCEncoder.encode(clientBookmark))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:77:27: error: cannot find 'xpc_dictionary_create' in scope
self.dictionary = xpc_dictionary_create(nil, nil, 0)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:77:49: error: 'nil' requires a contextual type
self.dictionary = xpc_dictionary_create(nil, nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:77:54: error: 'nil' requires a contextual type
self.dictionary = xpc_dictionary_create(nil, nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:78:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.route, try XPCEncoder.encode(self.route))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:79:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.requestID, try XPCEncoder.encode(requestID))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:80:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.payload, try XPCEncoder.encode(payload))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Request.swift:81:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(self.dictionary, RequestKeys.clientBookmark, try XPCEncoder.encode(clientBookmark))
^~~~~~~~~~~~~~~~~~~~~~~~
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
/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/Response.swift:57:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(reply, ResponseKeys.payload, try XPCEncoder.encode(payload))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:65:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(reply, ResponseKeys.error, try XPCEncoder.encode(error))
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.swift:70:9: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(reply, ResponseKeys.requestID, try XPCEncoder.encode(requestID))
^~~~~~~~~~~~~~~~~~~~~~~~
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
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
/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/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? {
^~~~~~~~~~~~
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
/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/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/Client/ServerRequirement.swift:164:9: error: cannot find 'SecCodeCheckValidity' in scope
SecCodeCheckValidity(serverIdentity.code, SecCSFlags(), self.requirement) == errSecSuccess
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift:164:51: error: cannot find 'SecCSFlags' in scope
SecCodeCheckValidity(serverIdentity.code, SecCSFlags(), self.requirement) == errSecSuccess
^~~~~~~~~~
/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: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? {
^~~~~~~~~~~~
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
/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: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: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/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:30:21: error: cannot find type 'xpc_object_t' in scope
let dictionary: xpc_object_t
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:203:63: error: type of expression is ambiguous without a type annotation
if let encoded = try? Request(route: route.route).dictionary {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:207:29: error: cannot find 'xpc_connection_send_message' in scope
xpc_connection_send_message(connection, encoded)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:203:30: warning: no calls to throwing functions occur within 'try' expression
if let encoded = try? Request(route: route.route).dictionary {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:250:81: error: type of expression is ambiguous without a type annotation
if let encoded = try? Request(route: route.route, payload: message).dictionary {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:254:29: error: cannot find 'xpc_connection_send_message' in scope
xpc_connection_send_message(connection, encoded)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:250:30: warning: no calls to throwing functions occur within 'try' expression
if let encoded = try? Request(route: route.route, payload: message).dictionary {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:427:21: error: cannot find 'xpc_connection_send_message_with_reply' in scope
xpc_connection_send_message_with_reply(connection, request.dictionary, nil) { reply in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:429:28: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(reply) == XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:429:51: error: cannot find 'XPC_TYPE_DICTIONARY' in scope
if xpc_get_type(reply) == XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:502:21: error: cannot find 'xpc_connection_send_message_with_reply' in scope
xpc_connection_send_message_with_reply(connection, request.dictionary, nil) { reply in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:515:28: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(reply) == XPC_TYPE_ERROR {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:515:51: error: cannot find 'XPC_TYPE_ERROR' in scope
if xpc_get_type(reply) == XPC_TYPE_ERROR {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:553:22: error: cannot infer contextual base in reference to member 'success'
handler(.success(connection))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:559:9: error: cannot find 'xpc_connection_set_event_handler' in scope
xpc_connection_set_event_handler(connection, self.handleEvent(event:))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:560:9: error: cannot find 'xpc_connection_resume' in scope
xpc_connection_resume(connection)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:572:21: error: cannot find 'xpc_connection_cancel' in scope
xpc_connection_cancel(connection)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:562:53: error: extra trailing closure passed in call
self.serverIdentity(connection: connection) { response in
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:581:12: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(event) == XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:581:35: error: cannot find 'XPC_TYPE_DICTIONARY' in scope
if xpc_get_type(event) == XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:583:19: error: cannot find 'xpc_get_type' in scope
} else if xpc_get_type(event) == XPC_TYPE_ERROR {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:583:42: error: cannot find 'XPC_TYPE_ERROR' in scope
} else if xpc_get_type(event) == XPC_TYPE_ERROR {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:589:12: error: cannot find 'xpc_equal' in scope
if xpc_equal(event, XPC_ERROR_CONNECTION_INVALID) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:589:29: error: cannot find 'XPC_ERROR_CONNECTION_INVALID' in scope
if xpc_equal(event, XPC_ERROR_CONNECTION_INVALID) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:602:19: error: cannot find 'xpc_equal' in scope
} else if xpc_equal(event, XPC_ERROR_CONNECTION_INTERRUPTED) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:602:36: error: cannot find 'XPC_ERROR_CONNECTION_INTERRUPTED' in scope
} else if xpc_equal(event, XPC_ERROR_CONNECTION_INTERRUPTED) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:676:9: error: cannot find 'xpc_connection_send_message_with_reply' in scope
xpc_connection_send_message_with_reply(connection, request.dictionary, nil) { reply in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:677:16: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(reply) == XPC_TYPE_ERROR {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:677:39: error: cannot find 'XPC_TYPE_ERROR' in scope
if xpc_get_type(reply) == XPC_TYPE_ERROR {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:688:76: error: cannot find 'xpc_connection_get_euid' in scope
effectiveUserID: xpc_connection_get_euid(connection),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:689:77: error: cannot find 'xpc_connection_get_egid' in scope
effectiveGroupID: xpc_connection_get_egid(connection),
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:690:70: error: cannot find 'xpc_connection_get_pid' in scope
processID: xpc_connection_get_pid(connection))
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:676:80: error: 'nil' requires a contextual type
xpc_connection_send_message_with_reply(connection, request.dictionary, nil) { reply in
^
/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/Client/XPCClient.swift:825:16: warning: capture of non-sendable type 'S.Type' in an isolated closure
if self.failedToDecode {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift:823:22: warning: capture of non-sendable type 'S.Type' in an isolated closure
fileprivate func handleResponse(_ response: Response) {
^
/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/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? {
^~~~~~~~~~~~
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
/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/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? {
^~~~~~~~~~~~
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
/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/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? {
^~~~~~~~~~~~
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
/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/Shared Memory/SharedRawMemory.swift:48:32: error: cannot find 'xpc_shmem_create' in scope
self.rawMemoryXPCBox = xpc_shmem_create(rawMemory, size)
^~~~~~~~~~~~~~~~
/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/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/Shared Memory/SharedRawMemory.swift:71:79: error: cannot infer contextual base in reference to member 'sharedMemory'
self.rawMemoryXPCBox = try container.asSharedMemoryXPCObject(forKey: .sharedMemory)
~^~~~~~~~~~~~
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
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared Memory/SharedSemaphore.swift:127:105: error: cannot find 'PSEMNAMLEN' in scope
case ENAMETOOLONG: fatalError("Name \(name) (\(name.count)) was too long, PSEMNAMLEN: \(PSEMNAMLEN)")
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared Memory/SharedSemaphore.swift:180:105: error: cannot find 'PSEMNAMLEN' in scope
case ENAMETOOLONG: fatalError("Name \(name) (\(name.count)) was too long, PSEMNAMLEN: \(PSEMNAMLEN)")
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared Memory/SharedSemaphore.swift:249:34: error: cannot find 'PSEMNAMLEN' in scope
let codeLength = Int(PSEMNAMLEN) - 2 - appGroup.count
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared Memory/SharedSemaphore.swift:252:66: error: cannot find 'PSEMNAMLEN' in scope
name = ShortCodeGenerator.generateCode(ofLength: Int(PSEMNAMLEN) - 1)
^~~~~~~~~~
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
/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/Transformation functions.swift:16:5: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(value) == xpcType {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/Transformation functions.swift:19:37: error: cannot find 'xpc_get_type' in scope
let debugDescription = "Actual: \(xpc_get_type(value).description), expected: \(String(describing: T.self))"
^~~~~~~~~~~~
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
/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/XPCDecoder.swift:23:16: error: cannot find 'xpc_dictionary_get_value' in scope
return xpc_dictionary_get_value(dictionary, key) != nil
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:43:24: error: cannot find 'xpc_dictionary_get_value' in scope
if let value = xpc_dictionary_get_value(dictionary, key) {
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:83:20: error: cannot find 'xpc_get_type' in scope
let type = xpc_get_type(object)
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:84:20: error: cannot find 'XPC_TYPE_DICTIONARY' in scope
if type != XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:88:46: error: cannot find 'xpc_object_t' in scope
throw DecodingError.typeMismatch(xpc_object_t.self, context)
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:94:31: error: cannot find 'xpc_get_type' in scope
if type == Data.self, xpc_get_type(object) == XPC_TYPE_DATA, let pointer = xpc_data_get_bytes_ptr(object) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:94:55: error: cannot find 'XPC_TYPE_DATA' in scope
if type == Data.self, xpc_get_type(object) == XPC_TYPE_DATA, let pointer = xpc_data_get_bytes_ptr(object) {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:94:84: error: cannot find 'xpc_data_get_bytes_ptr' in scope
if type == Data.self, xpc_get_type(object) == XPC_TYPE_DATA, let pointer = xpc_data_get_bytes_ptr(object) {
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoder.swift:95:48: error: cannot find 'xpc_data_get_length' in scope
return Data(bytes: pointer, count: xpc_data_get_length(object)) as? 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? {
^~~~~~~~~~~~
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
/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/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:33:13: error: generic parameter 'K' could not be inferred
try XPCKeyedDecodingContainer(value: self.value, codingPath: self.codingPath, userInfo: self.userInfo)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:10:42: note: 'K' declared as parameter to type 'XPCKeyedDecodingContainer'
internal class XPCKeyedDecodingContainer<K: CodingKey>: KeyedDecodingContainerProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:33:13: note: explicitly specify the generic arguments to fix this issue
try XPCKeyedDecodingContainer(value: self.value, codingPath: self.codingPath, userInfo: self.userInfo)
^
<<#K: CodingKey#>>
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:37:36: error: generic parameter 'K' could not be inferred
KeyedDecodingContainer(try XPCKeyedDecodingContainer(value: self.value,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:10:42: note: 'K' declared as parameter to type 'XPCKeyedDecodingContainer'
internal class XPCKeyedDecodingContainer<K: CodingKey>: KeyedDecodingContainerProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCDecoderImpl.swift:37:36: note: explicitly specify the generic arguments to fix this issue
KeyedDecodingContainer(try XPCKeyedDecodingContainer(value: self.value,
^
<<#K: CodingKey#>>
/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,
^~~~~~~~~~~~
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
/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: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: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/XPCKeyedDecodingContainer.swift:20:6: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(value) == XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:20:29: error: cannot find 'XPC_TYPE_DICTIONARY' in scope
if xpc_get_type(value) == XPC_TYPE_DICTIONARY {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:22:31: error: cannot find 'xpc_object_t' in scope
var dictionary = [String : xpc_object_t]()
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:22:22: error: cannot convert value of type 'String.Type' to expected dictionary key type 'AnyHashable'
var dictionary = [String : xpc_object_t]()
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:22:21: error: cannot call value of non-function type '[AnyHashable : Any]'
var dictionary = [String : xpc_object_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:23:4: error: cannot find 'xpc_dictionary_apply' in scope
xpc_dictionary_apply(value, { (key: UnsafePointer<CChar>, value: xpc_object_t) -> Bool in
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:23:69: error: cannot find type 'xpc_object_t' in scope
xpc_dictionary_apply(value, { (key: UnsafePointer<CChar>, value: xpc_object_t) -> Bool in
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:64:40: error: cannot find 'XPC_TYPE_INT64' in scope
return try decode(key: key, xpcType: XPC_TYPE_INT64, transform: transform)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:64:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_INT64, transform: transform)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:81:7: note: candidate has partially matching parameter list (Bool.Type, forKey: K)
func decode(_ type: Bool.Type, forKey key: K) throws -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:85:7: note: candidate has partially matching parameter list (String.Type, forKey: K)
func decode(_ type: String.Type, forKey key: K) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:89:7: note: candidate has partially matching parameter list (Double.Type, forKey: K)
func decode(_ type: Double.Type, forKey key: K) throws -> Double {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:93:7: note: candidate has partially matching parameter list (Float.Type, forKey: K)
func decode(_ type: Float.Type, forKey key: K) throws -> Float {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:97:7: note: candidate has partially matching parameter list (Int.Type, forKey: K)
func decode(_ type: Int.Type, forKey key: K) throws -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:101:7: note: candidate has partially matching parameter list (Int8.Type, forKey: K)
func decode(_ type: Int8.Type, forKey key: K) throws -> Int8 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:105:7: note: candidate has partially matching parameter list (Int16.Type, forKey: K)
func decode(_ type: Int16.Type, forKey key: K) throws -> Int16 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:109:7: note: candidate has partially matching parameter list (Int32.Type, forKey: K)
func decode(_ type: Int32.Type, forKey key: K) throws -> Int32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:113:7: note: candidate has partially matching parameter list (Int64.Type, forKey: K)
func decode(_ type: Int64.Type, forKey key: K) throws -> Int64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:117:7: note: candidate has partially matching parameter list (UInt.Type, forKey: K)
func decode(_ type: UInt.Type, forKey key: K) throws -> UInt {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:121:7: note: candidate has partially matching parameter list (UInt8.Type, forKey: K)
func decode(_ type: UInt8.Type, forKey key: K) throws -> UInt8 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:125:7: note: candidate has partially matching parameter list (UInt16.Type, forKey: K)
func decode(_ type: UInt16.Type, forKey key: K) throws -> UInt16 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:129:7: note: candidate has partially matching parameter list (UInt32.Type, forKey: K)
func decode(_ type: UInt32.Type, forKey key: K) throws -> UInt32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:133:7: note: candidate has partially matching parameter list (UInt64.Type, forKey: K)
func decode(_ type: UInt64.Type, forKey key: K) throws -> UInt64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:70:40: error: cannot find 'XPC_TYPE_UINT64' in scope
return try decode(key: key, xpcType: XPC_TYPE_UINT64, transform: transform)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:70:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_UINT64, transform: transform)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:81:7: note: candidate has partially matching parameter list (Bool.Type, forKey: K)
func decode(_ type: Bool.Type, forKey key: K) throws -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:85:7: note: candidate has partially matching parameter list (String.Type, forKey: K)
func decode(_ type: String.Type, forKey key: K) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:89:7: note: candidate has partially matching parameter list (Double.Type, forKey: K)
func decode(_ type: Double.Type, forKey key: K) throws -> Double {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:93:7: note: candidate has partially matching parameter list (Float.Type, forKey: K)
func decode(_ type: Float.Type, forKey key: K) throws -> Float {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:97:7: note: candidate has partially matching parameter list (Int.Type, forKey: K)
func decode(_ type: Int.Type, forKey key: K) throws -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:101:7: note: candidate has partially matching parameter list (Int8.Type, forKey: K)
func decode(_ type: Int8.Type, forKey key: K) throws -> Int8 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:105:7: note: candidate has partially matching parameter list (Int16.Type, forKey: K)
func decode(_ type: Int16.Type, forKey key: K) throws -> Int16 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:109:7: note: candidate has partially matching parameter list (Int32.Type, forKey: K)
func decode(_ type: Int32.Type, forKey key: K) throws -> Int32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:113:7: note: candidate has partially matching parameter list (Int64.Type, forKey: K)
func decode(_ type: Int64.Type, forKey key: K) throws -> Int64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:117:7: note: candidate has partially matching parameter list (UInt.Type, forKey: K)
func decode(_ type: UInt.Type, forKey key: K) throws -> UInt {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:121:7: note: candidate has partially matching parameter list (UInt8.Type, forKey: K)
func decode(_ type: UInt8.Type, forKey key: K) throws -> UInt8 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:125:7: note: candidate has partially matching parameter list (UInt16.Type, forKey: K)
func decode(_ type: UInt16.Type, forKey key: K) throws -> UInt16 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:129:7: note: candidate has partially matching parameter list (UInt32.Type, forKey: K)
func decode(_ type: UInt32.Type, forKey key: K) throws -> UInt32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:133:7: note: candidate has partially matching parameter list (UInt64.Type, forKey: K)
func decode(_ type: UInt64.Type, forKey key: K) throws -> UInt64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:78:10: error: cannot find 'xpc_get_type' in scope
return xpc_get_type(try value(forKey: key)) == XPC_TYPE_NULL
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:78:50: error: cannot find 'XPC_TYPE_NULL' in scope
return xpc_get_type(try value(forKey: key)) == XPC_TYPE_NULL
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:82:40: error: cannot find 'XPC_TYPE_BOOL' in scope
return try decode(key: key, xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:82:66: error: cannot find 'xpc_bool_get_value' in scope
return try decode(key: key, xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:82:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:81:7: note: candidate has partially matching parameter list (Bool.Type, forKey: K)
func decode(_ type: Bool.Type, forKey key: K) throws -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (Bool.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:86:40: error: cannot find 'XPC_TYPE_STRING' in scope
return try decode(key: key, xpcType: XPC_TYPE_STRING, transform: stringTransform(codingPath: self.codingPath))
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:86:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_STRING, transform: stringTransform(codingPath: self.codingPath))
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:85:7: note: candidate has partially matching parameter list (String.Type, forKey: K)
func decode(_ type: String.Type, forKey key: K) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (String.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:90:40: error: cannot find 'XPC_TYPE_DOUBLE' in scope
return try decode(key: key, xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:90:68: error: cannot find 'xpc_double_get_value' in scope
return try decode(key: key, xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:90:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:89:7: note: candidate has partially matching parameter list (Double.Type, forKey: K)
func decode(_ type: Double.Type, forKey key: K) throws -> Double {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (Double.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:94:40: error: cannot find 'XPC_TYPE_DOUBLE' in scope
return try decode(key: key, xpcType: XPC_TYPE_DOUBLE, transform: floatTransform)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:94:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_DOUBLE, transform: floatTransform)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:93:7: note: candidate has partially matching parameter list (Float.Type, forKey: K)
func decode(_ type: Float.Type, forKey key: K) throws -> Float {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (Float.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:114:40: error: cannot find 'XPC_TYPE_INT64' in scope
return try decode(key: key, xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:114:67: error: cannot find 'xpc_int64_get_value' in scope
return try decode(key: key, xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:114:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:113:7: note: candidate has partially matching parameter list (Int64.Type, forKey: K)
func decode(_ type: Int64.Type, forKey key: K) throws -> Int64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (Int64.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:134:40: error: cannot find 'XPC_TYPE_UINT64' in scope
return try decode(key: key, xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:134:68: error: cannot find 'xpc_uint64_get_value' in scope
return try decode(key: key, xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:134:14: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:133:7: note: candidate has partially matching parameter list (UInt64.Type, forKey: K)
func decode(_ type: UInt64.Type, forKey key: K) throws -> UInt64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (UInt64.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:182:46: error: cannot find 'XPC_TYPE_FD' in scope
return try decode(key: key, xpcType: XPC_TYPE_FD, transform: xpc_fd_dup)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:182:70: error: cannot find 'xpc_fd_dup' in scope
return try decode(key: key, xpcType: XPC_TYPE_FD, transform: xpc_fd_dup)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:182:20: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_FD, transform: xpc_fd_dup)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:109:7: note: candidate has partially matching parameter list (Int32.Type, forKey: K)
func decode(_ type: Int32.Type, forKey key: K) throws -> Int32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:137:7: note: candidate has partially matching parameter list (CInt.Type, forKey: K)
func decode<T>(_ type: T.Type, forKey key: K) throws -> T where T : Decodable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:186:46: error: cannot find 'XPC_TYPE_SHMEM' in scope
return try decode(key: key, xpcType: XPC_TYPE_SHMEM) {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:188:19: error: cannot find 'xpc_shmem_map' in scope
guard xpc_shmem_map($0, &sharedMemoryPointer) > 0, let sharedMemoryPointer = sharedMemoryPointer else {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:186:20: error: no exact matches in call to instance method 'decode'
return try decode(key: key, xpcType: XPC_TYPE_SHMEM) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:81:7: note: candidate has partially matching parameter list (Bool.Type, forKey: K)
func decode(_ type: Bool.Type, forKey key: K) throws -> Bool {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:85:7: note: candidate has partially matching parameter list (String.Type, forKey: K)
func decode(_ type: String.Type, forKey key: K) throws -> String {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:89:7: note: candidate has partially matching parameter list (Double.Type, forKey: K)
func decode(_ type: Double.Type, forKey key: K) throws -> Double {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:93:7: note: candidate has partially matching parameter list (Float.Type, forKey: K)
func decode(_ type: Float.Type, forKey key: K) throws -> Float {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:97:7: note: candidate has partially matching parameter list (Int.Type, forKey: K)
func decode(_ type: Int.Type, forKey key: K) throws -> Int {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:101:7: note: candidate has partially matching parameter list (Int8.Type, forKey: K)
func decode(_ type: Int8.Type, forKey key: K) throws -> Int8 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:105:7: note: candidate has partially matching parameter list (Int16.Type, forKey: K)
func decode(_ type: Int16.Type, forKey key: K) throws -> Int16 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:109:7: note: candidate has partially matching parameter list (Int32.Type, forKey: K)
func decode(_ type: Int32.Type, forKey key: K) throws -> Int32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:113:7: note: candidate has partially matching parameter list (Int64.Type, forKey: K)
func decode(_ type: Int64.Type, forKey key: K) throws -> Int64 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:117:7: note: candidate has partially matching parameter list (UInt.Type, forKey: K)
func decode(_ type: UInt.Type, forKey key: K) throws -> UInt {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:121:7: note: candidate has partially matching parameter list (UInt8.Type, forKey: K)
func decode(_ type: UInt8.Type, forKey key: K) throws -> UInt8 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:125:7: note: candidate has partially matching parameter list (UInt16.Type, forKey: K)
func decode(_ type: UInt16.Type, forKey key: K) throws -> UInt16 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:129:7: note: candidate has partially matching parameter list (UInt32.Type, forKey: K)
func decode(_ type: UInt32.Type, forKey key: K) throws -> UInt32 {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:133:7: note: candidate has partially matching parameter list (UInt64.Type, forKey: K)
func decode(_ type: UInt64.Type, forKey key: K) throws -> UInt64 {
^
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
/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: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: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/XPCSingleValueDecodingContainer.swift:19:15: error: cannot find 'xpc_get_type' in scope
self.type = xpc_get_type(value)
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:25:23: error: cannot find 'XPC_TYPE_NULL' in scope
return self.type == XPC_TYPE_NULL
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:35:30: error: cannot find 'XPC_TYPE_INT64' in scope
return try decode(xpcType: XPC_TYPE_INT64, transform: transform)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:35:57: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_INT64, transform: transform)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:41:30: error: cannot find 'XPC_TYPE_UINT64' in scope
return try decode(xpcType: XPC_TYPE_UINT64, transform: transform)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:41:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_UINT64, transform: transform)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:45:30: error: cannot find 'XPC_TYPE_BOOL' in scope
return try decode(xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:45:56: error: cannot find 'xpc_bool_get_value' in scope
return try decode(xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:45:56: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:49:30: error: cannot find 'XPC_TYPE_STRING' in scope
return try decode(xpcType: XPC_TYPE_STRING, transform: stringTransform(codingPath: self.codingPath))
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:49:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_STRING, transform: stringTransform(codingPath: self.codingPath))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:53:30: error: cannot find 'XPC_TYPE_DOUBLE' in scope
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:53:58: error: cannot find 'xpc_double_get_value' in scope
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:53:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:57:30: error: cannot find 'XPC_TYPE_DOUBLE' in scope
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: floatTransform)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:57:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: floatTransform)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:77:30: error: cannot find 'XPC_TYPE_INT64' in scope
return try decode(xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:77:57: error: cannot find 'xpc_int64_get_value' in scope
return try decode(xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:77:57: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:97:30: error: cannot find 'XPC_TYPE_UINT64' in scope
return try decode(xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:97:58: error: cannot find 'xpc_uint64_get_value' in scope
return try decode(xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCSingleValueDecodingContainer.swift:97:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
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
/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/XPCCommon.swift:27:22: error: cannot find type 'SecCode' in scope
var currentCode: SecCode?
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:28:18: error: cannot find 'SecCodeCopySelf' in scope
var status = SecCodeCopySelf(SecCSFlags(), ¤tCode)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:28:34: error: cannot find 'SecCSFlags' in scope
var status = SecCodeCopySelf(SecCSFlags(), ¤tCode)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:33:28: error: cannot find type 'SecStaticCode' in scope
var currentStaticCode: SecStaticCode?
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:34:14: error: cannot find 'SecCodeCopyStaticCode' in scope
status = SecCodeCopyStaticCode(currentCode, SecCSFlags(), ¤tStaticCode)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:34:49: error: cannot find 'SecCSFlags' in scope
status = SecCodeCopyStaticCode(currentCode, SecCSFlags(), ¤tStaticCode)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:47:15: error: cannot find type 'SecCode' in scope
var code: SecCode?
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:49:9: error: cannot find 'SecCodeCreateWithXPCMessage' in scope
SecCodeCreateWithXPCMessage(message, SecCSFlags(), &code)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:49:46: error: cannot find 'SecCSFlags' in scope
SecCodeCreateWithXPCMessage(message, SecCSFlags(), &code)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:55:27: error: cannot find 'kSecGuestAttributeAudit' in scope
let attributes = [kSecGuestAttributeAudit : tokenData] as CFDictionary
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:56:9: error: cannot find 'SecCodeCopyGuestWithAttributes' in scope
SecCodeCopyGuestWithAttributes(nil, attributes, SecCSFlags(), &code)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:56:57: error: cannot find 'SecCSFlags' in scope
SecCodeCopyGuestWithAttributes(nil, attributes, SecCSFlags(), &code)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:56:40: error: 'nil' requires a contextual type
SecCodeCopyGuestWithAttributes(nil, attributes, SecCSFlags(), &code)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:64:21: error: cannot find type 'SecStaticCode' in scope
var staticCode: SecStaticCode?
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:65:11: error: cannot find 'SecCodeCopyStaticCode' in scope
guard SecCodeCopyStaticCode(code, SecCSFlags(), &staticCode) == errSecSuccess,
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:65:39: error: cannot find 'SecCSFlags' in scope
guard SecCodeCopyStaticCode(code, SecCSFlags(), &staticCode) == errSecSuccess,
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:71:48: error: cannot find 'SecCSFlags' in scope
guard Security.SecCodeCopyPath(staticCode, SecCSFlags(), &path) == errSecSuccess else {
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:71:11: error: module 'Security' has no member named 'SecCodeCopyPath'
guard Security.SecCodeCopyPath(staticCode, SecCSFlags(), &path) == errSecSuccess else {
^~~~~~~~ ~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:173:22: error: cannot find 'SecTaskCreateFromSelf' in scope
guard let task = SecTaskCreateFromSelf(nil) else {
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:173:44: error: 'nil' requires a contextual type
guard let task = SecTaskCreateFromSelf(nil) else {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:177:12: error: cannot find 'SecTaskCopyValueForEntitlement' in scope
return SecTaskCopyValueForEntitlement(task, name as CFString, nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:177:67: error: 'nil' requires a contextual type
return SecTaskCopyValueForEntitlement(task, name as CFString, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:183:17: error: cannot find 'SecCSFlags' in scope
let flags = SecCSFlags(rawValue: kSecCSSigningInformation)
^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:183:38: error: cannot find 'kSecCSSigningInformation' in scope
let flags = SecCSFlags(rawValue: kSecCSSigningInformation)
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:184:18: error: cannot find 'SecCodeCopySigningInformation' in scope
let status = SecCodeCopySigningInformation(try SecStaticCodeCopySelf(), flags, &info)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:189:17: error: cannot find 'kSecCodeInfoTeamIdentifier' in scope
return info[kSecCodeInfoTeamIdentifier] as? String
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:201:22: error: cannot find type 'SecRequirement' in scope
var requirement: SecRequirement?
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCCommon.swift:202:11: error: cannot find 'SecRequirementCreateWithString' in scope
guard SecRequirementCreateWithString(requirementString, [], &requirement) == errSecSuccess,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
/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/XPCError.swift:82:12: error: cannot find 'xpc_equal' in scope
if xpc_equal(object, XPC_ERROR_CONNECTION_INVALID) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:82:30: error: cannot find 'XPC_ERROR_CONNECTION_INVALID' in scope
if xpc_equal(object, XPC_ERROR_CONNECTION_INVALID) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:84:19: error: cannot find 'xpc_equal' in scope
} else if xpc_equal(object, XPC_ERROR_CONNECTION_INTERRUPTED) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:84:37: error: cannot find 'XPC_ERROR_CONNECTION_INTERRUPTED' in scope
} else if xpc_equal(object, XPC_ERROR_CONNECTION_INTERRUPTED) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:86:19: error: cannot find 'xpc_equal' in scope
} else if xpc_equal(object, XPC_ERROR_TERMINATION_IMMINENT) {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift:86:37: error: cannot find 'XPC_ERROR_TERMINATION_IMMINENT' in scope
} else if xpc_equal(object, XPC_ERROR_TERMINATION_IMMINENT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
/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
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:29:24: error: cannot find 'xpc_hash' in scope
hasher.combine(xpc_hash(self.endpoint))
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:37:9: error: cannot find 'xpc_equal' in scope
xpc_equal(lhs.endpoint, rhs.endpoint)
^~~~~~~~~
/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/XPCDecoder/XPCKeyedDecodingContainer.swift:177:50: error: cannot find type 'xpc_endpoint_t' in scope
func decodeEndpoint(forKey key: K) throws -> xpc_endpoint_t {
^~~~~~~~~~~~~~
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
/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/XPCAnonymousServer.swift:21:44: error: cannot find 'xpc_connection_create' in scope
self.anonymousListenerConnection = xpc_connection_create(nil, listenerQueue)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:21:66: error: 'nil' requires a contextual type
self.anonymousListenerConnection = xpc_connection_create(nil, listenerQueue)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:25:9: error: cannot find 'xpc_connection_set_event_handler' in scope
xpc_connection_set_event_handler(self.anonymousListenerConnection, { connection in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:32:9: error: cannot find 'xpc_connection_resume' in scope
xpc_connection_resume(self.anonymousListenerConnection)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:47:35: error: cannot find 'xpc_endpoint_create' in scope
endpoint: xpc_endpoint_create(self.anonymousListenerConnection))
^~~~~~~~~~~~~~~~~~~
/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
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:46:26: error: extra arguments at positions #1, #2 in call
XPCServerEndpoint(connectionDescriptor: .anonymous,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:58:12: note: 'init(from:)' declared here
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:46:27: error: missing argument for parameter 'from' in call
XPCServerEndpoint(connectionDescriptor: .anonymous,
^
from: <#any Decoder#>,
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:58:12: note: 'init(from:)' declared here
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCAnonymousServer.swift:46:50: error: cannot infer contextual base in reference to member 'anonymous'
XPCServerEndpoint(connectionDescriptor: .anonymous,
~^~~~~~~~~
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
/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:31:13: error: cannot find 'xpc_connection_create_mach_service' in scope
xpc_connection_create_mach_service(namePointer, listenerQueue, UInt64(XPC_CONNECTION_MACH_SERVICE_LISTENER))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:31:83: error: cannot find 'XPC_CONNECTION_MACH_SERVICE_LISTENER' in scope
xpc_connection_create_mach_service(namePointer, listenerQueue, UInt64(XPC_CONNECTION_MACH_SERVICE_LISTENER))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:37:9: error: cannot find 'xpc_connection_set_event_handler' in scope
xpc_connection_set_event_handler(self.listenerConnection, { connection in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:44:9: error: cannot find 'xpc_connection_resume' in scope
xpc_connection_resume(self.listenerConnection)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:60:37: error: cannot find 'xpc_endpoint_create' in scope
endpoint: xpc_endpoint_create(self.listenerConnection))
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:59:26: error: extra arguments at positions #1, #2 in call
XPCServerEndpoint(connectionDescriptor: .machService(name: self.machServiceName),
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:58:12: note: 'init(from:)' declared here
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:59:27: error: missing argument for parameter 'from' in call
XPCServerEndpoint(connectionDescriptor: .machService(name: self.machServiceName),
^
from: <#any Decoder#>,
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCServerEndpoint.swift:58:12: note: 'init(from:)' declared here
public init(from decoder: Decoder) throws {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift:59:50: error: cannot infer contextual base in reference to member 'machService'
XPCServerEndpoint(connectionDescriptor: .machService(name: self.machServiceName),
~^~~~~~~~~~~
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
/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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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:340:9: error: cannot find 'xpc_connection_set_event_handler' in scope
xpc_connection_set_event_handler(connection, { event in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:343:9: error: cannot find 'xpc_connection_resume' in scope
xpc_connection_resume(connection)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:351:15: error: cannot find 'xpc_get_type' in scope
guard xpc_get_type(event) == XPC_TYPE_DICTIONARY else {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:351:38: error: cannot find 'XPC_TYPE_DICTIONARY' in scope
guard xpc_get_type(event) == XPC_TYPE_DICTIONARY else {
^~~~~~~~~~~~~~~~~~~
/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/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/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/Server/XPCServer.swift:366:34: error: incorrect argument label in call (have 'dictionary:', expected 'route:')
request = try Request(dictionary: message)
^~~~~~~~~~~
route
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:368:25: error: cannot find 'xpc_dictionary_create_reply' in scope
var reply = xpc_dictionary_create_reply(message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:369:46: error: 'nil' requires a contextual type
self.handleError(error, request: nil, connection: connection, reply: &reply)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:375:25: error: cannot find 'xpc_dictionary_create_reply' in scope
var reply = xpc_dictionary_create_reply(message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:393:61: error: cannot find 'xpc_dictionary_create_reply' in scope
var reply = handler.shouldCreateReply ? xpc_dictionary_create_reply(message) : nil
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:398:73: error: cannot find 'xpc_dictionary_create_reply' in scope
var reply = handler.shouldCreateReply ? reply : xpc_dictionary_create_reply(message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/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/XPCServer.swift:418:61: error: cannot find 'xpc_dictionary_create_reply' in scope
var reply = handler.shouldCreateReply ? xpc_dictionary_create_reply(message) : nil
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:423:73: error: cannot find 'xpc_dictionary_create_reply' in scope
var reply = handler.shouldCreateReply ? reply : xpc_dictionary_create_reply(message)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/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/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/Server/XPCServer.swift:480:13: error: cannot find 'xpc_connection_send_message' in scope
xpc_connection_send_message(connection, reply)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:714:63: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:714:79: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:714:105: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:724:82: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:724:108: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:735:63: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: R.self, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:735:108: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: R.self, sequentialReplyType: nil)
^
/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/Server/XPCServer.swift:746:111: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: R.self, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:758:63: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: S.self)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:758:79: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: S.self)
^
/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/Server/XPCServer.swift:769:82: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: nil, sequentialReplyType: S.self)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:799:63: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:799:79: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:799:105: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:815:82: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:815:108: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: nil, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:832:63: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: R.self, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:832:108: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: R.self, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:849:111: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: R.self, sequentialReplyType: nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:867:63: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: S.self)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:867:79: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: nil, replyType: nil, sequentialReplyType: S.self)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift:884:82: error: 'nil' requires a contextual type
try checkRequest(request, reply: &reply, messageType: M.self, replyType: nil, sequentialReplyType: S.self)
^
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
/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/Server/XPCServiceServer.swift:78:9: error: cannot find 'xpc_main' in scope
xpc_main { connection in
^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:104:52: error: cannot find 'xpc_endpoint_create' in scope
endpoint: xpc_endpoint_create(anonymousListenerConnection))
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:108:47: error: cannot find 'xpc_connection_create' in scope
let anonymousListenerConnection = xpc_connection_create(nil, nil)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:109:13: error: cannot find 'xpc_connection_set_event_handler' in scope
xpc_connection_set_event_handler(anonymousListenerConnection, { connection in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:116:13: error: cannot find 'xpc_connection_resume' in scope
xpc_connection_resume(anonymousListenerConnection)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:131:48: error: cannot find 'xpc_endpoint_create' in scope
endpoint: xpc_endpoint_create(anonymousListenerConnection))
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:100:28: error: cannot convert return expression of type '()' to return type 'XPCServerEndpoint'
self.endpointQueue.sync {
~~~~~~~~~~~~~~~~~~~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.swift:100:33: error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
self.endpointQueue.sync {
^
Dispatch.DispatchQueue.sync:3:15: note: 'sync(execute:)' declared here
public func sync(execute workItem: DispatchWorkItem)}
^
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
/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/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/XPCKeyedEncodingContainer.swift:22:20: error: cannot find 'xpc_dictionary_create' in scope
let dictionary = xpc_dictionary_create(nil, nil, 0)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:22:42: error: 'nil' requires a contextual type
let dictionary = xpc_dictionary_create(nil, nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:22:47: error: 'nil' requires a contextual type
let dictionary = xpc_dictionary_create(nil, nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:34:17: error: cannot find 'xpc_dictionary_set_value' in scope
xpc_dictionary_set_value(dictionary, keyPointer.baseAddress!, encodedValue)
^~~~~~~~~~~~~~~~~~~~~~~~
/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/XPCKeyedEncodingContainer.swift:50:17: error: cannot find 'xpc_null_create' in scope
self.setValue(xpc_null_create(), forKey: key)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:54:17: error: cannot find 'xpc_bool_create' in scope
self.setValue(xpc_bool_create(value), forKey: key)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:61:18: error: cannot find 'xpc_string_create' in scope
self.setValue(xpc_string_create(stringPointer.baseAddress!), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:66:17: error: cannot find 'xpc_double_create' in scope
self.setValue(xpc_double_create(value), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:73:17: error: cannot find 'xpc_double_create' in scope
self.setValue(xpc_double_create(doubleValue), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:77:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)), forKey: key)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:81:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)), forKey: key)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:85:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)), forKey: key)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:89:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)), forKey: key)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:93:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(value), forKey: key)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:97:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:101:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:105:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:109:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)), forKey: key)
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCKeyedEncodingContainer.swift:113:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(value), forKey: key)
^~~~~~~~~~~~~~~~~
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
/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/XPCSingleValueEncodingContainer.swift:31:17: error: cannot find 'xpc_null_create' in scope
self.setValue(xpc_null_create())
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:35:17: error: cannot find 'xpc_bool_create' in scope
self.setValue(xpc_bool_create(value))
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:42:18: error: cannot find 'xpc_string_create' in scope
self.setValue(xpc_string_create(stringPointer.baseAddress!))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:47:17: error: cannot find 'xpc_double_create' in scope
self.setValue(xpc_double_create(value))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:54:17: error: cannot find 'xpc_double_create' in scope
self.setValue(xpc_double_create(doubleValue))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:58:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:62:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:66:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:70:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:74:17: error: cannot find 'xpc_int64_create' in scope
self.setValue(xpc_int64_create(value))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:78:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:82:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:86:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:90:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift:94:17: error: cannot find 'xpc_uint64_create' in scope
self.setValue(xpc_uint64_create(value))
^~~~~~~~~~~~~~~~~
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
/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/XPCEncoder/XPCUnkeyedEncodingContainer.swift:44:21: error: cannot find 'xpc_array_create' in scope
let array = xpc_array_create(nil, 0)
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:44:38: error: 'nil' requires a contextual type
let array = xpc_array_create(nil, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:53:13: error: cannot find 'xpc_array_append_value' in scope
xpc_array_append_value(array, elementValue)
^~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:93:15: error: cannot find 'xpc_null_create' in scope
self.append(xpc_null_create())
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:98:15: error: cannot find 'xpc_bool_create' in scope
self.append(xpc_bool_create(value))
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:106:16: error: cannot find 'xpc_string_create' in scope
self.append(xpc_string_create(stringPointer.baseAddress!))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:112:15: error: cannot find 'xpc_double_create' in scope
self.append(xpc_double_create(value))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:121:15: error: cannot find 'xpc_double_create' in scope
self.append(xpc_double_create(doubleValue))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:126:15: error: cannot find 'xpc_int64_create' in scope
self.append(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:131:15: error: cannot find 'xpc_int64_create' in scope
self.append(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:136:15: error: cannot find 'xpc_int64_create' in scope
self.append(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:141:15: error: cannot find 'xpc_int64_create' in scope
self.append(xpc_int64_create(Int64(value)))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:146:15: error: cannot find 'xpc_int64_create' in scope
self.append(xpc_int64_create(value))
^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:151:15: error: cannot find 'xpc_uint64_create' in scope
self.append(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:156:15: error: cannot find 'xpc_uint64_create' in scope
self.append(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:161:15: error: cannot find 'xpc_uint64_create' in scope
self.append(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:166:15: error: cannot find 'xpc_uint64_create' in scope
self.append(xpc_uint64_create(UInt64(value)))
^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift:171:15: error: cannot find 'xpc_uint64_create' in scope
self.append(xpc_uint64_create(value))
^~~~~~~~~~~~~~~~~
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
/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 {
^~~~~~~~~~
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
/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/XPCDecoder/XPCUnkeyedDecodingContainer.swift:17:20: error: cannot find 'xpc_get_type' in scope
let type = xpc_get_type(value)
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:18:20: error: cannot find 'XPC_TYPE_ARRAY' in scope
if type == XPC_TYPE_ARRAY {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:22:27: error: cannot find 'XPC_TYPE_DATA' in scope
} else if type == XPC_TYPE_DATA {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:41:6: error: cannot find 'xpc_get_type' in scope
if xpc_get_type(value) == XPC_TYPE_ARRAY {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:41:29: error: cannot find 'XPC_TYPE_ARRAY' in scope
if xpc_get_type(value) == XPC_TYPE_ARRAY {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:42:17: error: cannot find 'xpc_object_t' in scope
var array = [xpc_object_t]()
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:42:16: error: cannot call value of non-function type '[Any]'
var array = [xpc_object_t]()
^ ~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:43:16: error: cannot find 'xpc_array_get_count' in scope
let count = xpc_array_get_count(value)
^~~~~~~~~~~~~~~~~~~
/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/XPCUnkeyedDecodingContainer.swift:91:30: error: cannot find 'XPC_TYPE_INT64' in scope
return try decode(xpcType: XPC_TYPE_INT64, transform: transform)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:91:57: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_INT64, transform: transform)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/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/XPCUnkeyedDecodingContainer.swift:97:30: error: cannot find 'XPC_TYPE_UINT64' in scope
return try decode(xpcType: XPC_TYPE_UINT64, transform: transform)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:97:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_UINT64, transform: transform)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:103:16: error: cannot find 'xpc_get_type' in scope
let isNull = xpc_get_type(element) == XPC_TYPE_NULL
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:103:41: error: cannot find 'XPC_TYPE_NULL' in scope
let isNull = xpc_get_type(element) == XPC_TYPE_NULL
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:112:30: error: cannot find 'XPC_TYPE_BOOL' in scope
return try decode(xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:112:56: error: cannot find 'xpc_bool_get_value' in scope
return try decode(xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:112:56: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_BOOL, transform: xpc_bool_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:116:30: error: cannot find 'XPC_TYPE_STRING' in scope
return try decode(xpcType: XPC_TYPE_STRING, transform: stringTransform(codingPath: self.codingPath))
^~~~~~~~~~~~~~~
/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/XPCUnkeyedDecodingContainer.swift:116:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_STRING, transform: stringTransform(codingPath: self.codingPath))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:120:30: error: cannot find 'XPC_TYPE_DOUBLE' in scope
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:120:58: error: cannot find 'xpc_double_get_value' in scope
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:120:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: xpc_double_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:124:30: error: cannot find 'XPC_TYPE_DOUBLE' in scope
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: floatTransform)
^~~~~~~~~~~~~~~
/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/XPCUnkeyedDecodingContainer.swift:124:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_DOUBLE, transform: floatTransform)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:144:30: error: cannot find 'XPC_TYPE_INT64' in scope
return try decode(xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:144:57: error: cannot find 'xpc_int64_get_value' in scope
return try decode(xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:144:57: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_INT64, transform: xpc_int64_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:164:30: error: cannot find 'XPC_TYPE_UINT64' in scope
return try decode(xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:164:58: error: cannot find 'xpc_uint64_get_value' in scope
return try decode(xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:164:58: error: extra argument 'transform' in call
return try decode(xpcType: XPC_TYPE_UINT64, transform: xpc_uint64_get_value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/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: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/XPCUnkeyedDecodingContainer.swift:178:57: error: generic parameter 'K' could not be inferred
let container = KeyedDecodingContainer<NestedKey>(try XPCKeyedDecodingContainer(value: value,
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCKeyedDecodingContainer.swift:10:42: note: 'K' declared as parameter to type 'XPCKeyedDecodingContainer'
internal class XPCKeyedDecodingContainer<K: CodingKey>: KeyedDecodingContainerProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:178:57: note: explicitly specify the generic arguments to fix this issue
let container = KeyedDecodingContainer<NestedKey>(try XPCKeyedDecodingContainer(value: value,
^
<<#K: CodingKey#>>
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:227:15: error: cannot find 'xpc_get_type' in scope
guard xpc_get_type(value) == XPC_TYPE_DATA else {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:227:38: error: cannot find 'XPC_TYPE_DATA' in scope
guard xpc_get_type(value) == XPC_TYPE_DATA else {
^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:235:26: error: cannot find 'xpc_data_get_length' in scope
let dataLength = xpc_data_get_length(value)
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC Coders/XPCDecoder/XPCUnkeyedDecodingContainer.swift:237:37: error: cannot find 'xpc_data_get_bytes_ptr' in scope
guard let dataPointer = xpc_data_get_bytes_ptr(value) else {
^~~~~~~~~~~~~~~~~~~~~~
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
/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? {
^~~~~~~~~~~~
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
/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? {
^~~~~~~~~~~~
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
/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? {
^~~~~~~~~~~~
SwiftEmitModule normal arm64 Emitting\ module\ for\ SecureXPC (in target 'SecureXPC' from project 'SecureXPC')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCServiceClient.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/ArrayOptimizedForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/DataOptimizedForXPC.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Codable\ Types/File\ Descriptor\ XPC\ Wrappers.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /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/SequentialResultProvider.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientIdentity.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/ClientRequirement.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/MachServiceCriteria.swift (in target 'SecureXPC' from project 'SecureXPC')
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/Request.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Response.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')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/ServerRequirement.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCClient.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Client/XPCEndpointClient.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /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/Shared\ Memory/SharedRawMemory.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Shared\ Memory/SharedSemaphore.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')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoder.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCDecoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCDecoder/XPCKeyedDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /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/XPCCommon.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPCError.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /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/Server/XPCAnonymousServer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCMachServer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/Server/XPCServiceServer.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')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCSingleValueEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCUnkeyedEncodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /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/XPCDecoder/XPCUnkeyedDecodingContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCContainer.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoder.swift (in target 'SecureXPC' from project 'SecureXPC')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SecureXPC/XPC\ Coders/XPCEncoder/XPCEncoderImpl.swift (in target 'SecureXPC' from project 'SecureXPC')
Building workspace spi-builder-workspace with scheme SecureXPC
(40 failures)
BUILD FAILURE 6.2 visionOS