The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PusherSwift with Swift 5.10 for watchOS using Xcode 15.4.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pusher/pusher-websocket-swift.git
Reference: 10.1.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pusher/pusher-websocket-swift
 * tag               10.1.9     -> FETCH_HEAD
HEAD is now at abcdff7 Merge pull request #454 from pusher/update-tweetnacl
Cloned https://github.com/pusher/pusher-websocket-swift.git
Revision (git rev-parse @):
abcdff7c2b42b9f159b2a387b82f67aac59c5f85
SUCCESS checkout https://github.com/pusher/pusher-websocket-swift.git at 10.1.9
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.10
Building package at path:  $PWD
https://github.com/pusher/pusher-websocket-swift.git
Command line invocation:
    /Applications/Xcode-15.4.0.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
resolved source packages:
{
  "dependencies" : [
    {
      "identity" : "nwwebsocket",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pusher/NWWebSocket.git"
    },
    {
      "identity" : "tweetnacl-swiftwrap",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pusher/tweetnacl-swiftwrap"
    }
  ],
  "manifest_display_name" : "PusherSwift",
  "name" : "PusherSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PusherSwift",
      "targets" : [
        "PusherSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PusherSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "PusherSwiftTests",
      "path" : "Tests",
      "sources" : [
        "Extensions/String+Extensions.swift",
        "Extensions/XCTest+Assertions.swift",
        "Helpers/Helpers.swift",
        "Helpers/Mocks.swift",
        "Helpers/TestObjects.swift",
        "Integration/AuthenticationTests.swift",
        "Integration/PusherClientInitializationTests.swift",
        "Integration/PusherIncomingEventHandlingTests.swift",
        "Integration/PusherTopLevelAPITests.swift",
        "Unit/Helpers/ChannelEventFactory+DecryptionTests.swift",
        "Unit/Helpers/ChannelEventFactoryTests.swift",
        "Unit/Helpers/CryptoTests.swift",
        "Unit/Models/ClientEventTests.swift",
        "Unit/Models/PresenceChannelTests.swift",
        "Unit/Models/PrivateEncryptedChannelTests.swift",
        "Unit/Models/PusherChannelTests.swift",
        "Unit/Protocols/PusherConnectionDelegateTests.swift",
        "Unit/Services/ChannelEventQueue+DecryptionTests.swift",
        "Unit/Services/ChannelEventQueueTests.swift",
        "Unit/Services/PusherConnectionTests.swift"
      ],
      "target_dependencies" : [
        "PusherSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PusherSwift",
      "module_type" : "SwiftTarget",
      "name" : "PusherSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "NWWebSocket",
        "TweetNacl"
      ],
      "product_memberships" : [
        "PusherSwift"
      ],
      "sources" : [
        "Extensions/PusherChannel+EncryptionHelpers.swift",
        "Extensions/PusherConnection+WebsocketDelegate.swift",
        "Extensions/URL+Pusher.swift",
        "Helpers/Crypto.swift",
        "Helpers/EventParser.swift",
        "Helpers/Logger.swift",
        "Models/AuthError.swift",
        "Models/AuthMethod.swift",
        "Models/ChannelsProtocolCloseCode.swift",
        "Models/ConnectionState.swift",
        "Models/Constants.swift",
        "Models/EventError.swift",
        "Models/EventHandler.swift",
        "Models/PusherAuth.swift",
        "Models/PusherChannel.swift",
        "Models/PusherChannelType.swift",
        "Models/PusherChannels.swift",
        "Models/PusherClientOptions.swift",
        "Models/PusherError.swift",
        "Models/PusherEvent.swift",
        "Models/PusherGlobalChannel.swift",
        "Models/PusherHost.swift",
        "Models/PusherPresenceChannel.swift",
        "Models/PusherPresenceChannelMember.swift",
        "Models/QueuedClientEvent.swift",
        "ObjC/AuthMethod+ObjectiveC.swift",
        "ObjC/OCAuthMethod.swift",
        "ObjC/OCPusherHost.swift",
        "ObjC/Pusher+ObjectiveC.swift",
        "ObjC/PusherClientOptions+ObjectiveC.swift",
        "ObjC/PusherConnection+ObjectiveC.swift",
        "ObjC/PusherError+ObjectiveC.swift",
        "ObjC/PusherHost+ObjectiveC.swift",
        "Protocols/AuthRequestBuilderProtocol.swift",
        "Protocols/Authorizer.swift",
        "Protocols/EventFactory.swift",
        "Protocols/EventQueue.swift",
        "Protocols/EventQueueDelegate.swift",
        "Protocols/PusherDelegate.swift",
        "PusherSwift.swift",
        "Services/ChannelEventFactory.swift",
        "Services/ChannelEventQueue.swift",
        "Services/PusherConnection.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "PusherSwift",
    "schemes" : [
      "PusherSwift"
    ],
    "targets" : [
      "PusherSwift",
      "PusherSwiftTests"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PusherSwift -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme PusherSwift -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
2025-12-09 12:45:31.866 xcodebuild[546:3018] Writing error result bundle to /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/ResultBundle_2025-09-12_12-45-0031.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ generic:1, platform:watchOS }
	Available destinations for the "PusherSwift" scheme:
		{ platform:macOS, arch:arm64, id:0000FE00-7420E06955360954, name:My Mac }
		{ platform:macOS, arch:x86_64, id:0000FE00-7420E06955360954, name:My Mac }
		{ 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:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device }
		{ platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Any tvOS Simulator Device }
		{ platform:tvOS Simulator, id:3DCDB840-9F58-45CD-986B-98E19574885F, OS:17.5, name:Apple TV }
		{ platform:tvOS Simulator, id:3DCDB840-9F58-45CD-986B-98E19574885F, OS:17.5, name:Apple TV }
		{ platform:tvOS Simulator, id:E92BDC90-C144-42F3-85D7-65EF40B3243F, OS:17.5, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:E92BDC90-C144-42F3-85D7-65EF40B3243F, OS:17.5, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:8DD4FF78-0FC8-4C59-8371-C9A2ABADA435, OS:17.5, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:8DD4FF78-0FC8-4C59-8371-C9A2ABADA435, OS:17.5, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:iOS Simulator, id:98CF9E9D-A923-4929-840E-E8B2EF83782E, OS:17.5, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:98CF9E9D-A923-4929-840E-E8B2EF83782E, OS:17.5, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:083AE6AE-210C-42CF-A95D-2611B29264F4, OS:17.5, name:iPad Air 11-inch (M2) }
		{ platform:iOS Simulator, id:083AE6AE-210C-42CF-A95D-2611B29264F4, OS:17.5, name:iPad Air 11-inch (M2) }
		{ platform:iOS Simulator, id:847EF4D5-E2F5-4F25-AD34-39D8F475B9F3, OS:17.5, name:iPad Air 13-inch (M2) }
		{ platform:iOS Simulator, id:847EF4D5-E2F5-4F25-AD34-39D8F475B9F3, OS:17.5, name:iPad Air 13-inch (M2) }
		{ platform:iOS Simulator, id:DC8D81D1-BC53-42D1-899E-BF62E080FE81, OS:17.5, name:iPad Pro 11-inch (M4) }
		{ platform:iOS Simulator, id:DC8D81D1-BC53-42D1-899E-BF62E080FE81, OS:17.5, name:iPad Pro 11-inch (M4) }
		{ platform:iOS Simulator, id:45025DF6-034F-487C-950A-10EEDA2654AB, OS:17.5, name:iPad Pro 13-inch (M4) }
		{ platform:iOS Simulator, id:45025DF6-034F-487C-950A-10EEDA2654AB, OS:17.5, name:iPad Pro 13-inch (M4) }
		{ platform:iOS Simulator, id:92371937-FE67-41ED-AF22-F1CB27540111, OS:17.5, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:92371937-FE67-41ED-AF22-F1CB27540111, OS:17.5, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:B343B625-C5FD-4EF0-B0DB-AAF78A9AFA59, OS:17.5, name:iPhone 15 }
		{ platform:iOS Simulator, id:B343B625-C5FD-4EF0-B0DB-AAF78A9AFA59, OS:17.5, name:iPhone 15 }
		{ platform:iOS Simulator, id:E8E6103C-E994-48B2-BCFB-08452991DAF4, OS:17.5, name:iPhone 15 Plus }
		{ platform:iOS Simulator, id:E8E6103C-E994-48B2-BCFB-08452991DAF4, OS:17.5, name:iPhone 15 Plus }
		{ platform:iOS Simulator, id:60CAE2EE-1D6B-47A0-8CEB-54B4DC174528, OS:17.5, name:iPhone 15 Pro }
		{ platform:iOS Simulator, id:60CAE2EE-1D6B-47A0-8CEB-54B4DC174528, OS:17.5, name:iPhone 15 Pro }
		{ platform:iOS Simulator, id:1630275B-43BB-487E-ADD7-9DC72C60EE41, OS:17.5, name:iPhone 15 Pro Max }
		{ platform:iOS Simulator, id:1630275B-43BB-487E-ADD7-9DC72C60EE41, OS:17.5, name:iPhone 15 Pro Max }
		{ platform:iOS Simulator, id:AC90B049-EA8F-4969-9735-7871FED3C526, OS:17.5, name:iPhone SE (3rd generation) }
		{ platform:iOS Simulator, id:AC90B049-EA8F-4969-9735-7871FED3C526, OS:17.5, name:iPhone SE (3rd generation) }
INFRASTRUCTURE ERROR (status: destinationUnavailable