Build Information
Failed to build CoreBluetoothEmulator, reference main (579963), with Swift 6.1 for iOS using Xcode 16.3 on 22 Nov 2025 06:59:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=iOSBuild Log
========================================
RunAll
========================================
Builder version: 4.68.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: iOS
Swift version: 6.1
Building package at path: $PWD
https://github.com/1amageek/CoreBluetoothEmulator.git
https://github.com/1amageek/CoreBluetoothEmulator.git
{
"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"
}
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
CoreBluetoothEmulator: /Users/admin/builder/spi-builder-workspace
resolved source packages: CoreBluetoothEmulator
{
"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" : "spi-builder-workspace",
"schemes" : [
"CoreBluetoothEmulator"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=iOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=iOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats"
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats
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' in project 'CoreBluetoothEmulator'
➜ Explicit dependency on target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator'
Target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 637e72e3847b8947d33e74863b732dc2
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/637e72e3847b8947d33e74863b732dc2.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
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-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/CoreBluetoothEmulator.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/CoreBluetoothEmulator.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/CoreBluetoothEmulator.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/CoreBluetoothEmulator.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/CoreBluetoothEmulator.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
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-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name CoreBluetoothEmulator -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios13.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.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\ 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
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
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
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:39:49: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
private var ancsAuthorizationStatus: [UUID: CBPeripheralManagerAuthorizationStatus] = [:] // central -> status
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1136:17: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
status: CBPeripheralManagerAuthorizationStatus
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1150:70: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
public func getANCSAuthorization(for centralIdentifier: UUID) -> CBPeripheralManagerAuthorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:246:34: warning: no 'async' operations occur within 'await' expression
let peripheral = await peripheralManager.createPeripheralProxy(for: central, advertisementData: advData)
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:413:16: warning: no 'async' operations occur within 'await' expression
return await manager.getServices(matching: serviceUUIDs)
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:432:16: warning: no 'async' operations occur within 'await' expression
return await manager.getCharacteristics(matching: characteristicUUIDs, for: service)
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:450:16: warning: no 'async' operations occur within 'await' expression
return await manager.getDescriptors(for: characteristic)
^
/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
for centralId in targetCentrals {
^~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1044:16: warning: no 'async' operations occur within 'await' expression
return await peripheralManager.createPeripheralProxy(
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1145:31: error: 'notifyANCSAuthorizationUpdate(for:)' is only available in iOS 13.1 or newer
await manager.notifyANCSAuthorizationUpdate(for: centralIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1145:31: note: add 'if #available' version check
await manager.notifyANCSAuthorizationUpdate(for: centralIdentifier)
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1134:17: note: add @available attribute to enclosing instance method
public func updateANCSAuthorization(
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:5:14: note: add @available attribute to enclosing actor
public actor EmulatorBus {
^
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
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
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
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
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
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')
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
/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
if let inputPipe = inputPipe, let outputPipe = outputPipe {
~~~~^~~~~~~~~
_
/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
if let inputPipe = inputPipe, let outputPipe = outputPipe {
~~~~^~~~~~~~~~
_
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
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
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
SwiftCompile normal arm64 Compiling\ XPCEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
Failed frontend command:
/Applications/Xcode-16.3.0.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.dia -target arm64-apple-ios13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name CoreBluetoothEmulator -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name iphoneos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.o -index-unit-output-path /CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:105:24: error: 'init(machServiceName:)' is unavailable in iOS
let listener = NSXPCListener(machServiceName: serviceName)
^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:134:1: note: 'init(machServiceName:)' has been explicitly marked unavailable here
- (instancetype)initWithMachServiceName:(NSString *)name NS_DESIGNATED_INITIALIZER API_UNAVAILABLE(ios, watchos, tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:106:27: warning: instance will be immediately deallocated because property 'delegate' is 'weak'
listener.delegate = XPCListenerDelegate(transport: self)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:106:27: note: a strong reference is required to prevent the instance from being deallocated
listener.delegate = XPCListenerDelegate(transport: self)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:137:55: note: 'delegate' declared here
@property (nullable, weak) id <NSXPCListenerDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:112:26: error: 'init(machServiceName:options:)' is unavailable in iOS
let connection = NSXPCConnection(machServiceName: serviceName)
^~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:56:1: note: 'init(machServiceName:options:)' has been explicitly marked unavailable here
- (instancetype)initWithMachServiceName:(NSString *)name options:(NSXPCConnectionOptions)options API_UNAVAILABLE(ios, watchos, tvos);
^
SwiftEmitModule normal arm64 Emitting\ module\ for\ CoreBluetoothEmulator (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
EmitSwiftModule 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 iOS 13.0: Use CBManagerAuthorization instead
private var ancsAuthorizationStatus: [UUID: CBPeripheralManagerAuthorizationStatus] = [:] // central -> status
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1136:17: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
status: CBPeripheralManagerAuthorizationStatus
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift:1150:70: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
public func getANCSAuthorization(for centralIdentifier: UUID) -> CBPeripheralManagerAuthorizationStatus {
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:312:48: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
public class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus {
^
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
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
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
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:312:48: warning: 'CBPeripheralManagerAuthorizationStatus' was deprecated in iOS 13.0: Use CBManagerAuthorization instead
public class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus {
^
/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
let centralProxy = EmulatedCBCentral(identifier: channel.peer.identifier)
~~~~^~~~~~~~~~~~
_
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Internal/EmulatedCBPeripheralManager.swift:318:13: warning: initialization of immutable value 'status' was never used; consider replacing with assignment to '_' or removing it
let status = await EmulatorBus.shared.getANCSAuthorization(for: centralIdentifier)
~~~~^~~~~~
_
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-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name CoreBluetoothEmulator -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios13.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/EmulatorBus.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
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 spi-builder-workspace with scheme CoreBluetoothEmulator
(4 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
CoreBluetoothEmulator: /Users/admin/builder/spi-builder-workspace
resolved source packages: CoreBluetoothEmulator
{
"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" : "spi-builder-workspace",
"schemes" : [
"CoreBluetoothEmulator"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=iOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme CoreBluetoothEmulator -destination generic/platform=iOS
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' in project 'CoreBluetoothEmulator'
➜ Explicit dependency on target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator'
Target 'CoreBluetoothEmulator' in project 'CoreBluetoothEmulator' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: df3c8a364f99cc647ba776f038713f45
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/df3c8a364f99cc647ba776f038713f45.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.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-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name CoreBluetoothEmulator -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -target arm64-apple-ios13.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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-iphoneos/CoreBluetoothEmulator.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\ 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
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
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
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
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
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
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
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
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')
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
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
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
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
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
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
SwiftEmitModule normal arm64 Emitting\ module\ for\ CoreBluetoothEmulator (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
EmitSwiftModule normal arm64 (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ XPCEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
Failed frontend command:
/Applications/Xcode-16.3.0.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-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.dia -target arm64-apple-ios13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/CoreBluetoothEmulator_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos18.4-22E235-339d34bc69d7fc736c3220795c36f340.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name CoreBluetoothEmulator -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name iphoneos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.build/Objects-normal/arm64/XPCEmulatorTransport.o -index-unit-output-path /CoreBluetoothEmulator.build/Debug-iphoneos/CoreBluetoothEmulator.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
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:105:24: error: 'init(machServiceName:)' is unavailable in iOS
let listener = NSXPCListener(machServiceName: serviceName)
^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:134:1: note: 'init(machServiceName:)' has been explicitly marked unavailable here
- (instancetype)initWithMachServiceName:(NSString *)name NS_DESIGNATED_INITIALIZER API_UNAVAILABLE(ios, watchos, tvos);
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:106:27: warning: instance will be immediately deallocated because property 'delegate' is 'weak'
listener.delegate = XPCListenerDelegate(transport: self)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:106:27: note: a strong reference is required to prevent the instance from being deallocated
listener.delegate = XPCListenerDelegate(transport: self)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:137:55: note: 'delegate' declared here
@property (nullable, weak) id <NSXPCListenerDelegate> delegate;
^
/Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/XPCEmulatorTransport.swift:112:26: error: 'init(machServiceName:options:)' is unavailable in iOS
let connection = NSXPCConnection(machServiceName: serviceName)
^~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h:56:1: note: 'init(machServiceName:options:)' has been explicitly marked unavailable here
- (instancetype)initWithMachServiceName:(NSString *)name options:(NSXPCConnectionOptions)options API_UNAVAILABLE(ios, watchos, tvos);
^
SwiftCompile normal arm64 Compiling\ InMemoryEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
Command SwiftCompile failed with a nonzero exit code
SwiftDriverJobDiscovery normal arm64 Compiling CoreBluetoothEmulator.swift, EmulatedDelegates.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
** 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')
SwiftCompile normal arm64 Compiling\ InMemoryEmulatorTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CoreBluetoothEmulator/Transport/InMemoryEmulatorTransport.swift (in target 'CoreBluetoothEmulator' from project 'CoreBluetoothEmulator')
Building workspace spi-builder-workspace with scheme CoreBluetoothEmulator
(4 failures)
BUILD FAILURE 6.1 iOS