Build Information
Failed to build LaunchAgent, reference main (9f6d33), with Swift 6.3 for tvOS using Xcode 26.4 on 23 Apr 2026 05:58:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LaunchAgent -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emorydunn/launchagent.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emorydunn/launchagent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9f6d33a Set version
Cloned https://github.com/emorydunn/launchagent.git
Revision (git rev-parse @):
9f6d33abfa4a0a45a877e9b884391981c1f4152b
SUCCESS checkout https://github.com/emorydunn/launchagent.git at main
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.3
Building package at path: $PWD
https://github.com/emorydunn/launchagent.git
Command line invocation:
/Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
LaunchAgent: /Users/admin/builder/spi-builder-workspace
resolved source packages: LaunchAgent
2026-04-23 01:58:37.446 xcodebuild[529:3067] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "LaunchAgent",
"name" : "LaunchAgent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LaunchAgent",
"targets" : [
"LaunchAgent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LaunchAgentTests",
"module_type" : "SwiftTarget",
"name" : "LaunchAgentTests",
"path" : "Tests/LaunchAgentTests",
"sources" : [
"FilePermissionsTests.swift",
"LaunchAgentTests.swift",
"LaunchAgentValiditytests.swift",
"LaunchControlTests.swift",
"ProgramTests.swift",
"StartCalendarIntervalTests.swift"
],
"target_dependencies" : [
"LaunchAgent"
],
"type" : "test"
},
{
"c99name" : "LaunchAgent",
"module_type" : "SwiftTarget",
"name" : "LaunchAgent",
"path" : "Sources/LaunchAgent",
"product_memberships" : [
"LaunchAgent"
],
"sources" : [
"Key Types/File Permissions.swift",
"Key Types/MachService.swift",
"Key Types/ProcessType.swift",
"Key Types/ResourceLimits.swift",
"Key Types/StartCalendarInterval.swift",
"Key Types/inetdCompatibility.swift",
"LaunchAgent+Status.swift",
"LaunchAgent.swift",
"LaunchControl.swift",
"String Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LaunchAgent"
]
}
}
2026-04-23 01:58:45.317 xcodebuild[631:3821] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LaunchAgent -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LaunchAgent -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
LaunchAgent: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LaunchAgent' in project 'LaunchAgent'
➜ Explicit dependency on target 'LaunchAgent' in project 'LaunchAgent'
Target 'LaunchAgent' in project 'LaunchAgent' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 3b3f5c24287579aee03bcab3adc9d606
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3b3f5c24287579aee03bcab3adc9d606.xcbuilddata
ClangStatCache /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.DependencyMetadataFileList (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.DependencyStaticMetadataFileList (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.modulemap (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.LinkFileList (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-OutputFileMap.json (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftFileList (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftConstValuesFileList (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftConstValuesFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/LaunchAgent.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.modulemap (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/LaunchAgent.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver LaunchAgent normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LaunchAgent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ File\ Permissions.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/File\ Permissions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/File\ Permissions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MachService.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/MachService.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/MachService.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ LaunchAgent (in target 'LaunchAgent' from project 'LaunchAgent')
EmitSwiftModule normal arm64 (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LaunchControl.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/File\ Permissions.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/MachService.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ProcessType.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ResourceLimits.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/StartCalendarInterval.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/inetdCompatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent+Status.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/String\ Extensions.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.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/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4 -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/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LaunchAgent -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.4 -target-sdk-name appletvos26.4 -external-plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.o -index-unit-output-path /LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.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/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:42:9: error: 'SCDynamicStoreCopyConsoleUser' is unavailable in tvOS
SCDynamicStoreCopyConsoleUser(nil, &uid, &gid)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreCopySpecific.h:89:1: note: 'SCDynamicStoreCopyConsoleUser' has been explicitly marked unavailable here
SCDynamicStoreCopyConsoleUser (
^
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:42:9: warning: result of call to 'SCDynamicStoreCopyConsoleUser' is unused
SCDynamicStoreCopyConsoleUser(nil, &uid, &gid)
^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:156:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:164:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:177:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:190:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:203:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:216:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:225:29: error: cannot find 'Process' in scope
let launchctlTask = Process()
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:226:24: error: cannot find 'Process' in scope
let grepTask = Process()
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:227:23: error: cannot find 'Process' in scope
let cutTask = Process()
^~~~~~~
SwiftCompile normal arm64 Compiling\ LaunchAgent+Status.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent+Status.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent+Status.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LaunchAgent.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ProcessType.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ProcessType.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ProcessType.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ String\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/String\ Extensions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/String\ Extensions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ StartCalendarInterval.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/StartCalendarInterval.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/StartCalendarInterval.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ResourceLimits.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ResourceLimits.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ResourceLimits.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ inetdCompatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/inetdCompatibility.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/inetdCompatibility.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for LaunchAgent (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftDriver\ Compilation\ Requirements LaunchAgent normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LaunchAgent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling ProcessType.swift (in target 'LaunchAgent' from project 'LaunchAgent')
2026-04-23 01:58:46.771 xcodebuild[638:3880] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ LaunchControl.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
Building workspace spi-builder-workspace with scheme LaunchAgent
(3 failures)
Command line invocation:
/Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
LaunchAgent: /Users/admin/builder/spi-builder-workspace
resolved source packages: LaunchAgent
2026-04-23 01:58:53.365 xcodebuild[666:4090] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "LaunchAgent",
"name" : "LaunchAgent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LaunchAgent",
"targets" : [
"LaunchAgent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LaunchAgentTests",
"module_type" : "SwiftTarget",
"name" : "LaunchAgentTests",
"path" : "Tests/LaunchAgentTests",
"sources" : [
"FilePermissionsTests.swift",
"LaunchAgentTests.swift",
"LaunchAgentValiditytests.swift",
"LaunchControlTests.swift",
"ProgramTests.swift",
"StartCalendarIntervalTests.swift"
],
"target_dependencies" : [
"LaunchAgent"
],
"type" : "test"
},
{
"c99name" : "LaunchAgent",
"module_type" : "SwiftTarget",
"name" : "LaunchAgent",
"path" : "Sources/LaunchAgent",
"product_memberships" : [
"LaunchAgent"
],
"sources" : [
"Key Types/File Permissions.swift",
"Key Types/MachService.swift",
"Key Types/ProcessType.swift",
"Key Types/ResourceLimits.swift",
"Key Types/StartCalendarInterval.swift",
"Key Types/inetdCompatibility.swift",
"LaunchAgent+Status.swift",
"LaunchAgent.swift",
"LaunchControl.swift",
"String Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LaunchAgent"
]
}
}
2026-04-23 01:58:54.620 xcodebuild[676:4183] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LaunchAgent -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LaunchAgent -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
LaunchAgent: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LaunchAgent' in project 'LaunchAgent'
➜ Explicit dependency on target 'LaunchAgent' in project 'LaunchAgent'
Target 'LaunchAgent' in project 'LaunchAgent' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
SwiftDriver LaunchAgent normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LaunchAgent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ LaunchAgent (in target 'LaunchAgent' from project 'LaunchAgent')
EmitSwiftModule normal arm64 (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ File\ Permissions.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/File\ Permissions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/File\ Permissions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ResourceLimits.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ResourceLimits.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ResourceLimits.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MachService.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/MachService.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/MachService.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ StartCalendarInterval.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/StartCalendarInterval.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/StartCalendarInterval.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LaunchControl.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
Failed frontend command:
/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/File\ Permissions.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/MachService.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ProcessType.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ResourceLimits.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/StartCalendarInterval.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/inetdCompatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent+Status.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/String\ Extensions.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.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/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 4 -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/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchAgent_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LaunchAgent -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.4 -target-sdk-name appletvos26.4 -external-plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.o -index-unit-output-path /LaunchAgent.build/Debug-appletvos/LaunchAgent.build/Objects-normal/arm64/LaunchControl.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/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:42:9: error: 'SCDynamicStoreCopyConsoleUser' is unavailable in tvOS
SCDynamicStoreCopyConsoleUser(nil, &uid, &gid)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreCopySpecific.h:89:1: note: 'SCDynamicStoreCopyConsoleUser' has been explicitly marked unavailable here
SCDynamicStoreCopyConsoleUser (
^
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:42:9: warning: result of call to 'SCDynamicStoreCopyConsoleUser' is unused
SCDynamicStoreCopyConsoleUser(nil, &uid, &gid)
^ ~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:156:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:164:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:177:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:190:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:203:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:216:9: error: cannot find 'Process' in scope
Process.launchedProcess(launchPath: LaunchControl.launchctl, arguments: arguments)
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:225:29: error: cannot find 'Process' in scope
let launchctlTask = Process()
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:226:24: error: cannot find 'Process' in scope
let grepTask = Process()
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift:227:23: error: cannot find 'Process' in scope
let cutTask = Process()
^~~~~~~
SwiftCompile normal arm64 Compiling\ inetdCompatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/inetdCompatibility.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/inetdCompatibility.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LaunchAgent+Status.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent+Status.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent+Status.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ String\ Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/String\ Extensions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/String\ Extensions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ LaunchAgent.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchAgent.swift (in target 'LaunchAgent' from project 'LaunchAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling LaunchAgent+Status.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 Compiling\ ProcessType.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/Key\ Types/ProcessType.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftDriverJobDiscovery normal arm64 Compiling inetdCompatibility.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftDriverJobDiscovery normal arm64 Compiling MachService.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftDriverJobDiscovery normal arm64 Compiling String Extensions.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftDriverJobDiscovery normal arm64 Compiling ResourceLimits.swift (in target 'LaunchAgent' from project 'LaunchAgent')
2026-04-23 01:58:55.503 xcodebuild[679:4215] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ LaunchControl.swift /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LaunchAgent/LaunchControl.swift (in target 'LaunchAgent' from project 'LaunchAgent')
Building workspace spi-builder-workspace with scheme LaunchAgent
(3 failures)
BUILD FAILURE 6.3 tvOS