The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build KYNearbyService with Swift 5.8 for watchOS using Xcode 14.3.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme KYNearbyService -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.43.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kjuly/KYNearbyService.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kjuly/KYNearbyService
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b058b1a KYNearbyService.podspec: spec.version=1.2.0
Cloned https://github.com/Kjuly/KYNearbyService.git
Revision (git rev-parse @):
b058b1ad5bc6b1b6b298dd4ac0566bae3fb5aaee
SUCCESS checkout https://github.com/Kjuly/KYNearbyService.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.8
Building package at path:  $workDir
https://github.com/Kjuly/KYNearbyService.git
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/Kjuly/KYLogger.git
Creating working copy of package ‘KYLogger’
Checking out main of package ‘KYLogger’
Resolved source packages:
  KYLogger: https://github.com/Kjuly/KYLogger.git @ main
resolved source packages: KYLogger
2024-06-20 15:51:18.846 xcodebuild[472:2568] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "kylogger",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kjuly/KYLogger.git"
    }
  ],
  "manifest_display_name" : "KYNearbyService",
  "name" : "KYNearbyService",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.5"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "KYNearbyService",
      "targets" : [
        "KYNearbyService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KYNearbyServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "KYNearbyServiceTests",
      "path" : "KYNearbyServiceTests",
      "sources" : [
        "KYNearbyService/KYNearbyServiceConfigurationTests.swift",
        "KYNearbyService/KYNearbyServiceConstantsTests.swift",
        "KYNearbyService/KYNearbyServiceConstants_ObjCTests.swift",
        "KYNearbyService/KYNearbyService_ReceivedFileTests.swift"
      ],
      "target_dependencies" : [
        "KYNearbyService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KYNearbyService",
      "module_type" : "SwiftTarget",
      "name" : "KYNearbyService",
      "path" : "KYNearbyService/Sources",
      "product_dependencies" : [
        "KYLogger"
      ],
      "product_memberships" : [
        "KYNearbyService"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/KYNearbyService/Sources/Resources/en.lproj/KYNearbyServiceLocalizations.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/KYNearbyService/Sources/Resources/zh-Hans.lproj/KYNearbyServiceLocalizations.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        }
      ],
      "sources" : [
        "KYNearbyConnectionView/Extensions/Animation+KYNearbyConnectionView.swift",
        "KYNearbyConnectionView/Extensions/View+KYNearbyConnectionView.swift",
        "KYNearbyConnectionView/KYNearbyConnectionView.swift",
        "KYNearbyConnectionView/KYNearbyConnectionViewConstants.swift",
        "KYNearbyConnectionView/PeerCell/KYNearbyConnectionPeerCell+Actions.swift",
        "KYNearbyConnectionView/PeerCell/KYNearbyConnectionPeerCell.swift",
        "KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel+Event.swift",
        "KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel+Notification.swift",
        "KYNearbyConnectionView/ViewModel/KYNearbyConnectionViewModel.swift",
        "KYNearbyConnectionView/ViewModel/Theme/KYNearbyConnectionViewTheme.swift",
        "KYNearbyService/Internal/KYNearbyService+Internal.swift",
        "KYNearbyService/Internal/KYNearbyService+MCNearbyServiceAdvertiserDelegate.swift",
        "KYNearbyService/Internal/KYNearbyService+MCNearbyServiceBrowserDelegate.swift",
        "KYNearbyService/Internal/KYNearbyService+MCSessionDelegate.swift",
        "KYNearbyService/KYNearbyService+Connection.swift",
        "KYNearbyService/KYNearbyService+Debug.swift",
        "KYNearbyService/KYNearbyService+ErrorAlert.swift",
        "KYNearbyService/KYNearbyService+ReceivedFile.swift",
        "KYNearbyService/KYNearbyService+Sending.swift",
        "KYNearbyService/KYNearbyService+Visibility.swift",
        "KYNearbyService/KYNearbyService.swift",
        "KYNearbyService/KYNearbyServiceConfiguration.swift",
        "KYNearbyService/KYNearbyServiceConstants+ObjC.swift",
        "KYNearbyService/KYNearbyServiceConstants.swift",
        "KYNearbyService/Model/KYNearbyPeerModel+Debug.swift",
        "KYNearbyService/Model/KYNearbyPeerModel+ObjC.swift",
        "KYNearbyService/Model/KYNearbyPeerModel.swift",
        "Localizations/KYNearbyServiceLocalizations.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "KYNearbyService",
    "schemes" : [
      "KYNearbyService"
    ],
    "targets" : [
      "KYNearbyService",
      "KYNearbyServiceTests"
    ]
  }
}
2024-06-20 15:51:31.580 xcodebuild[594:3078] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme KYNearbyService -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme KYNearbyService -destination generic/platform=watchOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  KYLogger: https://github.com/Kjuly/KYLogger.git @ main
2024-06-20 15:51:32.239 xcodebuild[595:3117] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
2024-06-20 15:51:33.078 xcodebuild[595:3117] Writing error result bundle to /var/folders/w2/nm7r2v151xdbgh0vg5l65j6c0000gn/T/ResultBundle_2024-20-06_15-51-0033.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ generic:1, platform:watchOS }
	Available destinations for the "KYNearbyService" scheme:
		{ platform:macOS, arch:arm64, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:x86_64, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:x86_64, variant:Mac Catalyst, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-13D622F2AD547C02 }
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
		{ platform:macOS, name:Any Mac }
		{ platform:macOS, variant:Mac Catalyst, name:Any Mac }
		{ platform:iOS Simulator, id:4DD3641A-8F6D-45FE-8192-CD8532CE13C2, OS:16.4, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:4DD3641A-8F6D-45FE-8192-CD8532CE13C2, OS:16.4, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:7C422CA3-1CBD-4DC6-815D-9894C8564368, OS:16.4, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:7C422CA3-1CBD-4DC6-815D-9894C8564368, OS:16.4, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:FF0F1FFB-5CE5-4F5D-92E6-83A914269D7F, OS:16.4, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:FF0F1FFB-5CE5-4F5D-92E6-83A914269D7F, OS:16.4, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:F37D0220-A1C3-43EE-A122-518151DE6BB4, OS:16.4, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:F37D0220-A1C3-43EE-A122-518151DE6BB4, OS:16.4, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:5C8E79C6-DE15-4A1B-BF7A-A1FCFF5BADA8, OS:16.4, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:5C8E79C6-DE15-4A1B-BF7A-A1FCFF5BADA8, OS:16.4, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:E4DDCDF4-0CA1-42FB-A543-6E6670018049, OS:16.4, name:iPhone 14 }
		{ platform:iOS Simulator, id:E4DDCDF4-0CA1-42FB-A543-6E6670018049, OS:16.4, name:iPhone 14 }
		{ platform:iOS Simulator, id:C7E51D03-DEF9-4402-BB7E-D0CD8C0B4A61, OS:16.4, name:iPhone 14 Plus }
		{ platform:iOS Simulator, id:C7E51D03-DEF9-4402-BB7E-D0CD8C0B4A61, OS:16.4, name:iPhone 14 Plus }
		{ platform:iOS Simulator, id:96A5B0CE-DBCF-4AFD-A73C-A57DCEE3B1DB, OS:16.4, name:iPhone 14 Pro }
		{ platform:iOS Simulator, id:96A5B0CE-DBCF-4AFD-A73C-A57DCEE3B1DB, OS:16.4, name:iPhone 14 Pro }
		{ platform:iOS Simulator, id:1B5DBC05-FF0B-40F5-AD3D-97A5C09A56DC, OS:16.4, name:iPhone 14 Pro Max }
		{ platform:iOS Simulator, id:1B5DBC05-FF0B-40F5-AD3D-97A5C09A56DC, OS:16.4, name:iPhone 14 Pro Max }
		{ platform:iOS Simulator, id:163DB6E8-D481-4A03-A409-3952F8A88A1A, OS:16.4, name:iPhone SE (3rd generation) }
		{ platform:iOS Simulator, id:163DB6E8-D481-4A03-A409-3952F8A88A1A, OS:16.4, name:iPhone SE (3rd generation) }
Command line invocation:
    /Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme KYNearbyService -destination generic/platform=watchOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  KYLogger: https://github.com/Kjuly/KYLogger.git @ main
2024-06-20 15:51:34.608 xcodebuild[600:3166] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
2024-06-20 15:51:34.801 xcodebuild[600:3166] Writing error result bundle to /var/folders/w2/nm7r2v151xdbgh0vg5l65j6c0000gn/T/ResultBundle_2024-20-06_15-51-0034.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ generic:1, platform:watchOS }
	Available destinations for the "KYNearbyService" scheme:
		{ platform:macOS, arch:arm64, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:x86_64, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:x86_64, variant:Mac Catalyst, id:0000FE00-13D622F2AD547C02 }
		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-13D622F2AD547C02 }
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
		{ platform:macOS, name:Any Mac }
		{ platform:macOS, variant:Mac Catalyst, name:Any Mac }
		{ platform:iOS Simulator, id:4DD3641A-8F6D-45FE-8192-CD8532CE13C2, OS:16.4, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:4DD3641A-8F6D-45FE-8192-CD8532CE13C2, OS:16.4, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:7C422CA3-1CBD-4DC6-815D-9894C8564368, OS:16.4, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:7C422CA3-1CBD-4DC6-815D-9894C8564368, OS:16.4, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:FF0F1FFB-5CE5-4F5D-92E6-83A914269D7F, OS:16.4, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:FF0F1FFB-5CE5-4F5D-92E6-83A914269D7F, OS:16.4, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:F37D0220-A1C3-43EE-A122-518151DE6BB4, OS:16.4, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:F37D0220-A1C3-43EE-A122-518151DE6BB4, OS:16.4, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:5C8E79C6-DE15-4A1B-BF7A-A1FCFF5BADA8, OS:16.4, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:5C8E79C6-DE15-4A1B-BF7A-A1FCFF5BADA8, OS:16.4, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:E4DDCDF4-0CA1-42FB-A543-6E6670018049, OS:16.4, name:iPhone 14 }
		{ platform:iOS Simulator, id:E4DDCDF4-0CA1-42FB-A543-6E6670018049, OS:16.4, name:iPhone 14 }
		{ platform:iOS Simulator, id:C7E51D03-DEF9-4402-BB7E-D0CD8C0B4A61, OS:16.4, name:iPhone 14 Plus }
		{ platform:iOS Simulator, id:C7E51D03-DEF9-4402-BB7E-D0CD8C0B4A61, OS:16.4, name:iPhone 14 Plus }
		{ platform:iOS Simulator, id:96A5B0CE-DBCF-4AFD-A73C-A57DCEE3B1DB, OS:16.4, name:iPhone 14 Pro }
		{ platform:iOS Simulator, id:96A5B0CE-DBCF-4AFD-A73C-A57DCEE3B1DB, OS:16.4, name:iPhone 14 Pro }
		{ platform:iOS Simulator, id:1B5DBC05-FF0B-40F5-AD3D-97A5C09A56DC, OS:16.4, name:iPhone 14 Pro Max }
		{ platform:iOS Simulator, id:1B5DBC05-FF0B-40F5-AD3D-97A5C09A56DC, OS:16.4, name:iPhone 14 Pro Max }
		{ platform:iOS Simulator, id:163DB6E8-D481-4A03-A409-3952F8A88A1A, OS:16.4, name:iPhone SE (3rd generation) }
		{ platform:iOS Simulator, id:163DB6E8-D481-4A03-A409-3952F8A88A1A, OS:16.4, name:iPhone SE (3rd generation) }
BUILD FAILURE 5.8 watchOS