Build Information
Failed to build CoreBluetoothEmulator, reference main (579963), with Swift 6.4 for tvOS using Xcode 27.0 on 23 Sep 2026 11:02:04 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/CoreBluetoothEmulator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/1amageek/CoreBluetoothEmulator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 579963e Implement multi-process support and update documentation
Cloned https://github.com/1amageek/CoreBluetoothEmulator.git
Revision (git rev-parse @):
579963e0ceffdf8a452c7e4fdb033fece3324c92
SUCCESS checkout https://github.com/1amageek/CoreBluetoothEmulator.git at main
========================================
Build
========================================
Selected platform: tvOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/1amageek/CoreBluetoothEmulator.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
CoreBluetoothEmulator: /Users/admin/builder/spi-builder-workspace
resolved source packages: CoreBluetoothEmulator
2026-09-23 07:01:20.611 xcodebuild[525:3038] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "CoreBluetoothEmulator",
"name" : "CoreBluetoothEmulator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CoreBluetoothEmulator",
"targets" : [
"CoreBluetoothEmulator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreBluetoothEmulatorTests",
"module_type" : "SwiftTarget",
"name" : "CoreBluetoothEmulatorTests",
"path" : "Tests/CoreBluetoothEmulatorTests",
"sources" : [
"CoreBluetoothEmulatorTests.swift",
"Integration/ANCSAuthorizationTests.swift",
"Integration/AdvertisementAutoGenerationTests.swift",
"Integration/BackpressureTests.swift",
"Integration/BidirectionalEventsTests.swift",
"Integration/ConnectionEventsTests.swift",
"Integration/FullWorkflowTests.swift",
"Integration/L2CAPChannelTests.swift",
"Integration/MTUManagementTests.swift",
"Integration/ScanOptionsTests.swift",
"Integration/StateRestorationTests.swift"
],
"target_dependencies" : [
"CoreBluetoothEmulator"
],
"type" : "test"
},
{
"c99name" : "CoreBluetoothEmulator",
"module_type" : "SwiftTarget",
"name" : "CoreBluetoothEmulator",
"path" : "Sources/CoreBluetoothEmulator",
"product_memberships" : [
"CoreBluetoothEmulator"
],
"sources" : [
"CoreBluetoothEmulator.swift",
"EmulatedDelegates.swift",
"EmulatorBus.swift",
"EmulatorConfiguration.swift",
"EmulatorInternalEvent.swift",
"EmulatorTransport.swift",
"Internal/EmulatedCBCentral.swift",
"Internal/EmulatedCBCentralManager.swift",
"Internal/EmulatedCBCharacteristic.swift",
"Internal/EmulatedCBDescriptor.swift",
"Internal/EmulatedCBL2CAPChannel.swift",
"Internal/EmulatedCBPeripheral.swift",
"Internal/EmulatedCBPeripheralManager.swift",
"Internal/EmulatedCBService.swift",
"Transport/InMemoryEmulatorTransport.swift",
"Transport/XPCEmulatorTransport.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "CoreBluetoothEmulator",
"schemes" : [
"CoreBluetoothEmulator"
]
}
}
2026-09-23 07:01:52.558 xcodebuild[622:3858] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 CoreBluetoothEmulator -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
CoreBluetoothEmulator: /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 'CoreBluetoothEmulator-product' in project 'CoreBluetoothEmulator'
➜ Explicit dependency on target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator'
Target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 42e3754e9e0b1a0467162b0bf62221c4
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/42e3754e9e0b1a0467162b0bf62221c4.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
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/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/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/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.modulemap (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.DependencyStaticMetadataFileList (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.DependencyMetadataFileList (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.LinkFileList (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftConstValuesFileList (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/CoreBluetoothEmulator.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.modulemap (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/CoreBluetoothEmulator.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver CoreBluetoothEmulator normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CoreBluetoothEmulator -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-BO2OCAUYVAXDRVQWQ8ISKGNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-9ZJZ6FDEZNKTZU8YLPMFT9RAQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BY5PD8KF1L5KF6F4Q69HE3TJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-8X2KEPL7CTRPS40TUB9APHPK6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BV2EDDP0MI5QJDDPEEV4D9D3V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-8ZJAYZ85YBOAOP52Y9H6IUNP3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-8N4EXJ4RUJTR8K9OO3CMOH1EP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-AHRDH5EKLY6D04C5E42F3VCQI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-2AZ6B5IBYD3RRRTFWN2ONASY3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-JOTYMOA1YZCIJ2NON6FQ848O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-7JU2HP127LIT1X9E2V3D8WZ1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-AOGAN1O02NKXRJN5V73AV3V3M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-6EVHP7A717OUS5DMC78F79HWO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8GCAV1YMG5UUGHUID3CA20TCH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6NFTB6IBKS143IVPGT1EKB7HO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-8SR3855WDFHQPR6G9GHOI2C07.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-6X1IQ3QK9KEVKXOK9Y79EW7J3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-DBSQAVBBPC3D2OMU5ZI2RXMST.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-5250FDCE56N8508OR6XUYDKZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-E2DGZ0SX0TULQHULZRPO6OKNW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-DBUFF7811DKMX7VPBOJPGGF1U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1QL58A0V50C39KVAIC6C38SHL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-6O2DJFT3QUJ7QKTD3SNUB6PCR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-7TPJ7ENDC4L1A1ESHYI9TXS0D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8VMXEKVDA3MHUH9AOTP905DID.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-2CUR2VK9S3S3WPFXPNXNUWYGN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BSSIP64DIGUKMAYJOG1WPQ78X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreBluetooth-DIXOEXF73GYO45H4X2FJCBICJ.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ CoreBluetoothEmulator (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:39:49: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
37 | private var publishedL2CAPChannels: [UUID: [CBL2CAPPSM: Bool]] = [:] // peripheral -> PSM -> encryption required
38 | private var openL2CAPChannels: [UUID: EmulatedCBL2CAPChannel] = [:] // channel identifier -> channel
39 | private var ancsAuthorizationStatus: [UUID: CBPeripheralManagerAuthorizationStatus] = [:] // central -> status
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
40 |
41 | private struct ConnectionPair: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1136:17: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1134 | public func updateANCSAuthorization(
1135 | for centralIdentifier: UUID,
1136 | status: CBPeripheralManagerAuthorizationStatus
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1137 | ) async {
1138 | guard configuration.fireANCSAuthorizationUpdates else { return }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1150:70: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1148 | }
1149 |
1150 | public func getANCSAuthorization(for centralIdentifier: UUID) -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1151 | return ancsAuthorizationStatus[centralIdentifier] ?? .notDetermined
1152 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:312:48: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
310 | // MARK: - Authorization
311 |
312 | public class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
313 | return .authorized
314 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
SwiftCompile normal arm64 Compiling\ EmulatedCBPeripheralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBPeripheralManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:312:48: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
310 | // MARK: - Authorization
311 |
312 | public class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
313 | return .authorized
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:83:53: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#ImplicitStrongCapture]
36 | super.init()
37 |
38 | Task {
| |- note: 'self' implicitly strongly captured here
| `- note: add 'self' as a capture list item to silence
39 | await EmulatorBus.shared.register(peripheral: self, identifier: identifier)
40 |
:
81 | }
82 | // Will restart advertising after delegate callback
83 | Task { @MainActor [weak self] in
| |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#ImplicitStrongCapture]
| `- note: explicitly assign the capture list item to silence
84 | try? await Task.sleep(nanoseconds: 100_000_000) // 100ms delay
85 | self?.startAdvertising(advData)
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:303:13: warning: initialization of immutable value 'centralProxy' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
301 | @available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *)
302 | internal func notifyL2CAPChannelOpened(_ channel: EmulatedCBL2CAPChannel) async {
303 | let centralProxy = EmulatedCBCentral(identifier: channel.peer.identifier)
| `- warning: initialization of immutable value 'centralProxy' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
304 |
305 | notifyDelegate { delegate in
SwiftCompile normal arm64 Compiling\ EmulatedCBService.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBService.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBService.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBService.swift
SwiftCompile normal arm64 Compiling\ InMemoryEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InMemoryEmulatorTransport.swift
SwiftCompile normal arm64 Compiling\ XPCEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:105:24: error: 'init(machServiceName:)' is unavailable in tvOS
103 | private func startHub() async throws {
104 | // Create XPC listener for incoming connections
105 | let listener = NSXPCListener(machServiceName: serviceName)
| `- error: 'init(machServiceName:)' is unavailable in tvOS
106 | listener.delegate = XPCListenerDelegate(transport: self)
107 | listener.resume()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:179:1: note: 'init(machServiceName:)' has been explicitly marked unavailable here
177 | ///
178 | /// For example, an agent with a `launchd.plist` in `~/Library/LaunchAgents`, or a daemon with a `launchd.plist` in `/Library/LaunchDaemons`.
179 | - (instancetype)initWithMachServiceName:(NSString *)name NS_DESIGNATED_INITIALIZER API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'init(machServiceName:)' has been explicitly marked unavailable here
180 |
181 | /// The delegate for the connection listener.
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:106:27: warning: instance will be immediately deallocated because property 'delegate' is 'weak'
104 | // Create XPC listener for incoming connections
105 | let listener = NSXPCListener(machServiceName: serviceName)
106 | listener.delegate = XPCListenerDelegate(transport: self)
| |- warning: instance will be immediately deallocated because property 'delegate' is 'weak'
| `- note: a strong reference is required to prevent the instance from being deallocated
107 | listener.resume()
108 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:184:55: note: 'delegate' declared here
182 | ///
183 | /// If no delegate is set, all new connections will be rejected. See the protocol for more information on how to implement it.
184 | @property (nullable, weak) id <NSXPCListenerDelegate> delegate;
| `- note: 'delegate' declared here
185 |
186 | /// An endpoint object which may be sent over an existing connection.
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:112:26: error: 'init(machServiceName:options:)' is unavailable in tvOS
110 | /// Start as client
111 | private func startClient() async throws {
112 | let connection = NSXPCConnection(machServiceName: serviceName)
| `- error: 'init(machServiceName:options:)' is unavailable in tvOS
113 | connection.remoteObjectInterface = NSXPCInterface(with: XPCEmulatorProtocol.self)
114 | connection.exportedInterface = NSXPCInterface(with: XPCEmulatorClientProtocol.self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:71:1: note: 'init(machServiceName:options:)' has been explicitly marked unavailable here
69 | ///
70 | /// For example, an agent with a `launchd.plist` in `~/Library/LaunchAgents`. If the connection is being made to something in a privileged Mach bootstrap (for example, a daemon with a `launchd.plist` in `/Library/LaunchDaemons`), then use the `NSXPCConnectionPrivileged` option. Receiving a non-nil result from this init method does not mean the service name is valid or the service has been launched.
71 | - (instancetype)initWithMachServiceName:(NSString *)name options:(NSXPCConnectionOptions)options API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'init(machServiceName:options:)' has been explicitly marked unavailable here
72 |
73 | /// Initializes an `NSXPCConnection` that will connect to an `NSXPCListener` identified by its endpoint.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatedDelegates.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorInternalEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCharacteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBService.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.dia -target arm64-apple-tvos15.0 -module-can-import-version Darwin 428.0.10 0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CoreBluetoothEmulator -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -index-unit-output-path /CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.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/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XPCEmulatorTransport.swift
SwiftCompile normal arm64 Compiling\ EmulatorInternalEvent.swift,\ EmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorInternalEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorInternalEvent.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorInternalEvent.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorTransport.swift
SwiftCompile normal arm64 Compiling\ EmulatedCBCentral.swift,\ EmulatedCBCentralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentral.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBCentral.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBCentralManager.swift
SwiftCompile normal arm64 Compiling\ EmulatorBus.swift,\ EmulatorConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorConfiguration.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:39:49: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
37 | private var publishedL2CAPChannels: [UUID: [CBL2CAPPSM: Bool]] = [:] // peripheral -> PSM -> encryption required
38 | private var openL2CAPChannels: [UUID: EmulatedCBL2CAPChannel] = [:] // channel identifier -> channel
39 | private var ancsAuthorizationStatus: [UUID: CBPeripheralManagerAuthorizationStatus] = [:] // central -> status
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
40 |
41 | private struct ConnectionPair: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1136:17: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1134 | public func updateANCSAuthorization(
1135 | for centralIdentifier: UUID,
1136 | status: CBPeripheralManagerAuthorizationStatus
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1137 | ) async {
1138 | guard configuration.fireANCSAuthorizationUpdates else { return }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1150:70: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1148 | }
1149 |
1150 | public func getANCSAuthorization(for centralIdentifier: UUID) -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1151 | return ancsAuthorizationStatus[centralIdentifier] ?? .notDetermined
1152 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:246:34: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
244 |
245 | // Create peripheral proxy with advertisement data
246 | let peripheral = await peripheralManager.createPeripheralProxy(for: central, advertisementData: advData)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
247 |
248 | // Generate RSSI
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:413:16: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
411 | }
412 |
413 | return await manager.getServices(matching: serviceUUIDs)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
414 | }
415 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:432:16: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
430 | }
431 |
432 | return await manager.getCharacteristics(matching: characteristicUUIDs, for: service)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
433 | }
434 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:450:16: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
448 | }
449 |
450 | return await manager.getDescriptors(for: characteristic)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
451 | }
452 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:728:17: warning: immutable value 'centralId' was never used; consider replacing with '_' or removing it [#NoUsage]
726 | // Send notification event in distributed mode
727 | if case .distributed = transportMode {
728 | for centralId in targetCentrals {
| `- warning: immutable value 'centralId' was never used; consider replacing with '_' or removing it [#NoUsage]
729 | let event = EmulatorInternalEvent.notificationSent(
730 | peripheralID: peripheralIdentifier,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorBus.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorConfiguration.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorConfiguration.swift
SwiftCompile normal arm64 Compiling\ EmulatedCBL2CAPChannel.swift,\ EmulatedCBPeripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheral.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift:41:16: warning: immutable value 'inputPipe' was never used; consider replacing with '_' or removing it [#NoUsage]
39 |
40 | // Create streams from pipes
41 | if let inputPipe = inputPipe, let outputPipe = outputPipe {
| `- warning: immutable value 'inputPipe' was never used; consider replacing with '_' or removing it [#NoUsage]
42 | // Use CFStream for proper stream creation
43 | var readStream: Unmanaged<CFReadStream>?
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift:41:43: warning: immutable value 'outputPipe' was never used; consider replacing with '_' or removing it [#NoUsage]
39 |
40 | // Create streams from pipes
41 | if let inputPipe = inputPipe, let outputPipe = outputPipe {
| `- warning: immutable value 'outputPipe' was never used; consider replacing with '_' or removing it [#NoUsage]
42 | // Use CFStream for proper stream creation
43 | var readStream: Unmanaged<CFReadStream>?
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBL2CAPChannel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheral.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBPeripheral.swift
SwiftCompile normal arm64 Compiling\ CoreBluetoothEmulator.swift,\ EmulatedDelegates.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatedDelegates.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoreBluetoothEmulator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatedDelegates.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedDelegates.swift
SwiftCompile normal arm64 Compiling\ EmulatedCBCharacteristic.swift,\ EmulatedCBDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCharacteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBDescriptor.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCharacteristic.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBCharacteristic.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBDescriptor.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBDescriptor.swift
SwiftDriverJobDiscovery normal arm64 Emitting module for CoreBluetoothEmulator (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftDriver\ Compilation\ Requirements CoreBluetoothEmulator normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CoreBluetoothEmulator -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 07:01:54.064 xcodebuild[623:3906] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ XPCEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
Building workspace CoreBluetoothEmulator with scheme CoreBluetoothEmulator
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
CoreBluetoothEmulator: /Users/admin/builder/spi-builder-workspace
resolved source packages: CoreBluetoothEmulator
2026-09-23 07:02:01.028 xcodebuild[678:4198] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "CoreBluetoothEmulator",
"name" : "CoreBluetoothEmulator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CoreBluetoothEmulator",
"targets" : [
"CoreBluetoothEmulator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreBluetoothEmulatorTests",
"module_type" : "SwiftTarget",
"name" : "CoreBluetoothEmulatorTests",
"path" : "Tests/CoreBluetoothEmulatorTests",
"sources" : [
"CoreBluetoothEmulatorTests.swift",
"Integration/ANCSAuthorizationTests.swift",
"Integration/AdvertisementAutoGenerationTests.swift",
"Integration/BackpressureTests.swift",
"Integration/BidirectionalEventsTests.swift",
"Integration/ConnectionEventsTests.swift",
"Integration/FullWorkflowTests.swift",
"Integration/L2CAPChannelTests.swift",
"Integration/MTUManagementTests.swift",
"Integration/ScanOptionsTests.swift",
"Integration/StateRestorationTests.swift"
],
"target_dependencies" : [
"CoreBluetoothEmulator"
],
"type" : "test"
},
{
"c99name" : "CoreBluetoothEmulator",
"module_type" : "SwiftTarget",
"name" : "CoreBluetoothEmulator",
"path" : "Sources/CoreBluetoothEmulator",
"product_memberships" : [
"CoreBluetoothEmulator"
],
"sources" : [
"CoreBluetoothEmulator.swift",
"EmulatedDelegates.swift",
"EmulatorBus.swift",
"EmulatorConfiguration.swift",
"EmulatorInternalEvent.swift",
"EmulatorTransport.swift",
"Internal/EmulatedCBCentral.swift",
"Internal/EmulatedCBCentralManager.swift",
"Internal/EmulatedCBCharacteristic.swift",
"Internal/EmulatedCBDescriptor.swift",
"Internal/EmulatedCBL2CAPChannel.swift",
"Internal/EmulatedCBPeripheral.swift",
"Internal/EmulatedCBPeripheralManager.swift",
"Internal/EmulatedCBService.swift",
"Transport/InMemoryEmulatorTransport.swift",
"Transport/XPCEmulatorTransport.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
{
"workspace" : {
"name" : "CoreBluetoothEmulator",
"schemes" : [
"CoreBluetoothEmulator"
]
}
}
2026-09-23 07:02:02.339 xcodebuild[706:4423] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 CoreBluetoothEmulator -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
CoreBluetoothEmulator: /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 'CoreBluetoothEmulator-product' in project 'CoreBluetoothEmulator'
➜ Explicit dependency on target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator'
Target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver CoreBluetoothEmulator normal arm64 com.apple.xcode.tools.swift.compiler (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name CoreBluetoothEmulator -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ EmulatedCBCentral.swift,\ EmulatedCBCentralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentral.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBCentral.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBCentralManager.swift
SwiftCompile normal arm64 Compiling\ CoreBluetoothEmulator.swift,\ EmulatedDelegates.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatedDelegates.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoreBluetoothEmulator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatedDelegates.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedDelegates.swift
SwiftCompile normal arm64 Compiling\ EmulatedCBCharacteristic.swift,\ EmulatedCBDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCharacteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBDescriptor.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCharacteristic.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBCharacteristic.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBDescriptor.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBDescriptor.swift
SwiftCompile normal arm64 Compiling\ EmulatorBus.swift,\ EmulatorConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorConfiguration.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorBus.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorConfiguration.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:39:49: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
37 | private var publishedL2CAPChannels: [UUID: [CBL2CAPPSM: Bool]] = [:] // peripheral -> PSM -> encryption required
38 | private var openL2CAPChannels: [UUID: EmulatedCBL2CAPChannel] = [:] // channel identifier -> channel
39 | private var ancsAuthorizationStatus: [UUID: CBPeripheralManagerAuthorizationStatus] = [:] // central -> status
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
40 |
41 | private struct ConnectionPair: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1136:17: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1134 | public func updateANCSAuthorization(
1135 | for centralIdentifier: UUID,
1136 | status: CBPeripheralManagerAuthorizationStatus
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1137 | ) async {
1138 | guard configuration.fireANCSAuthorizationUpdates else { return }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1150:70: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1148 | }
1149 |
1150 | public func getANCSAuthorization(for centralIdentifier: UUID) -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1151 | return ancsAuthorizationStatus[centralIdentifier] ?? .notDetermined
1152 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:246:34: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
244 |
245 | // Create peripheral proxy with advertisement data
246 | let peripheral = await peripheralManager.createPeripheralProxy(for: central, advertisementData: advData)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
247 |
248 | // Generate RSSI
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:413:16: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
411 | }
412 |
413 | return await manager.getServices(matching: serviceUUIDs)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
414 | }
415 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:432:16: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
430 | }
431 |
432 | return await manager.getCharacteristics(matching: characteristicUUIDs, for: service)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
433 | }
434 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:450:16: warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
448 | }
449 |
450 | return await manager.getDescriptors(for: characteristic)
| `- warning: no 'async' operations occur within 'await' expression [#UnnecessaryEffectMarker]
451 | }
452 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:728:17: warning: immutable value 'centralId' was never used; consider replacing with '_' or removing it [#NoUsage]
726 | // Send notification event in distributed mode
727 | if case .distributed = transportMode {
728 | for centralId in targetCentrals {
| `- warning: immutable value 'centralId' was never used; consider replacing with '_' or removing it [#NoUsage]
729 | let event = EmulatorInternalEvent.notificationSent(
730 | peripheralID: peripheralIdentifier,
SwiftCompile normal arm64 Compiling\ EmulatorInternalEvent.swift,\ EmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorInternalEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorInternalEvent.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorInternalEvent.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatorTransport.swift
SwiftCompile normal arm64 Compiling\ EmulatedCBL2CAPChannel.swift,\ EmulatedCBPeripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheral.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift:41:16: warning: immutable value 'inputPipe' was never used; consider replacing with '_' or removing it [#NoUsage]
39 |
40 | // Create streams from pipes
41 | if let inputPipe = inputPipe, let outputPipe = outputPipe {
| `- warning: immutable value 'inputPipe' was never used; consider replacing with '_' or removing it [#NoUsage]
42 | // Use CFStream for proper stream creation
43 | var readStream: Unmanaged<CFReadStream>?
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBL2CAPChannel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheral.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBPeripheral.swift
SwiftCompile normal arm64 Compiling\ InMemoryEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InMemoryEmulatorTransport.swift
SwiftCompile normal arm64 Compiling\ EmulatedCBPeripheralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBPeripheralManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:312:48: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
310 | // MARK: - Authorization
311 |
312 | public class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
313 | return .authorized
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:83:53: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#ImplicitStrongCapture]
36 | super.init()
37 |
38 | Task {
| |- note: 'self' implicitly strongly captured here
| `- note: add 'self' as a capture list item to silence
39 | await EmulatorBus.shared.register(peripheral: self, identifier: identifier)
40 |
:
81 | }
82 | // Will restart advertising after delegate callback
83 | Task { @MainActor [weak self] in
| |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#ImplicitStrongCapture]
| `- note: explicitly assign the capture list item to silence
84 | try? await Task.sleep(nanoseconds: 100_000_000) // 100ms delay
85 | self?.startAdvertising(advData)
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:303:13: warning: initialization of immutable value 'centralProxy' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
301 | @available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *)
302 | internal func notifyL2CAPChannelOpened(_ channel: EmulatedCBL2CAPChannel) async {
303 | let centralProxy = EmulatedCBCentral(identifier: channel.peer.identifier)
| `- warning: initialization of immutable value 'centralProxy' was never used; consider replacing with assignment to '_' or removing it [#NoUsage]
304 |
305 | notifyDelegate { delegate in
SwiftEmitModule normal arm64 Emitting\ module\ for\ CoreBluetoothEmulator (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:39:49: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
37 | private var publishedL2CAPChannels: [UUID: [CBL2CAPPSM: Bool]] = [:] // peripheral -> PSM -> encryption required
38 | private var openL2CAPChannels: [UUID: EmulatedCBL2CAPChannel] = [:] // channel identifier -> channel
39 | private var ancsAuthorizationStatus: [UUID: CBPeripheralManagerAuthorizationStatus] = [:] // central -> status
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
40 |
41 | private struct ConnectionPair: Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1136:17: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1134 | public func updateANCSAuthorization(
1135 | for centralIdentifier: UUID,
1136 | status: CBPeripheralManagerAuthorizationStatus
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1137 | ) async {
1138 | guard configuration.fireANCSAuthorizationUpdates else { return }
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1150:70: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1148 | }
1149 |
1150 | public func getANCSAuthorization(for centralIdentifier: UUID) -> CBPeripheralManagerAuthorizationStatus {
| `- warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in tvOS 13.0: Use CBManagerAuthorization instead [#DeprecatedDeclaration]
1151 | return ancsAuthorizationStatus[centralIdentifier] ?? .notDetermined
1152 | }
SwiftCompile normal arm64 (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ EmulatedCBService.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBService.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBService.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EmulatedCBService.swift
SwiftCompile normal arm64 Compiling\ XPCEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:105:24: error: 'init(machServiceName:)' is unavailable in tvOS
103 | private func startHub() async throws {
104 | // Create XPC listener for incoming connections
105 | let listener = NSXPCListener(machServiceName: serviceName)
| `- error: 'init(machServiceName:)' is unavailable in tvOS
106 | listener.delegate = XPCListenerDelegate(transport: self)
107 | listener.resume()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:179:1: note: 'init(machServiceName:)' has been explicitly marked unavailable here
177 | ///
178 | /// For example, an agent with a `launchd.plist` in `~/Library/LaunchAgents`, or a daemon with a `launchd.plist` in `/Library/LaunchDaemons`.
179 | - (instancetype)initWithMachServiceName:(NSString *)name NS_DESIGNATED_INITIALIZER API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'init(machServiceName:)' has been explicitly marked unavailable here
180 |
181 | /// The delegate for the connection listener.
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:106:27: warning: instance will be immediately deallocated because property 'delegate' is 'weak'
104 | // Create XPC listener for incoming connections
105 | let listener = NSXPCListener(machServiceName: serviceName)
106 | listener.delegate = XPCListenerDelegate(transport: self)
| |- warning: instance will be immediately deallocated because property 'delegate' is 'weak'
| `- note: a strong reference is required to prevent the instance from being deallocated
107 | listener.resume()
108 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:184:55: note: 'delegate' declared here
182 | ///
183 | /// If no delegate is set, all new connections will be rejected. See the protocol for more information on how to implement it.
184 | @property (nullable, weak) id <NSXPCListenerDelegate> delegate;
| `- note: 'delegate' declared here
185 |
186 | /// An endpoint object which may be sent over an existing connection.
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:112:26: error: 'init(machServiceName:options:)' is unavailable in tvOS
110 | /// Start as client
111 | private func startClient() async throws {
112 | let connection = NSXPCConnection(machServiceName: serviceName)
| `- error: 'init(machServiceName:options:)' is unavailable in tvOS
113 | connection.remoteObjectInterface = NSXPCInterface(with: XPCEmulatorProtocol.self)
114 | connection.exportedInterface = NSXPCInterface(with: XPCEmulatorClientProtocol.self)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:71:1: note: 'init(machServiceName:options:)' has been explicitly marked unavailable here
69 | ///
70 | /// For example, an agent with a `launchd.plist` in `~/Library/LaunchAgents`. If the connection is being made to something in a privileged Mach bootstrap (for example, a daemon with a `launchd.plist` in `/Library/LaunchDaemons`), then use the `NSXPCConnectionPrivileged` option. Receiving a non-nil result from this init method does not mean the service name is valid or the service has been launched.
71 | - (instancetype)initWithMachServiceName:(NSString *)name options:(NSXPCConnectionOptions)options API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'init(machServiceName:options:)' has been explicitly marked unavailable here
72 |
73 | /// Initializes an `NSXPCConnection` that will connect to an `NSXPCListener` identified by its endpoint.
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/CoreBluetoothEmulator.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatedDelegates.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorInternalEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCentralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBCharacteristic.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBDescriptor.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBL2CAPChannel.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheral.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBService.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.dia -target arm64-apple-tvos15.0 -module-can-import-version Darwin 428.0.10 0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -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/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CoreBluetoothEmulator -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -index-unit-output-path /CoreBluetoothEmulator.build/Debug-appletvos/CoreBluetoothEmulator-t.build/Objects-normal/arm64/XPCEmulatorTransport.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/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XPCEmulatorTransport.swift
SwiftDriverJobDiscovery normal arm64 Compiling CoreBluetoothEmulator.swift, EmulatedDelegates.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftDriverJobDiscovery normal arm64 Compiling EmulatedCBService.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftDriverJobDiscovery normal arm64 Compiling InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftDriverJobDiscovery normal arm64 Compiling EmulatedCBCharacteristic.swift, EmulatedCBDescriptor.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 07:02:03.310 xcodebuild[707:4451] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ XPCEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
Building workspace CoreBluetoothEmulator with scheme CoreBluetoothEmulator
(3 failures)
BUILD FAILURE 6.4 tvOS