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 ControlKit, reference main (2221a2), with Swift 6.0 for watchOS using Xcode 16.2 on 26 May 2025 09:38:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ControlKit-Package -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/superturboryan/ControlKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/superturboryan/ControlKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2221a2f ⏯️ Playback: Set AVAudioSession category
Cloned https://github.com/superturboryan/ControlKit.git
Revision (git rev-parse @):
2221a2fbde16520cec8e256da42b477a8d79500a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/superturboryan/ControlKit.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/superturboryan/ControlKit.git
Command line invocation:
    /Applications/Xcode-16.2.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
Resolve Package Graph
Fetching from https://github.com/spotify/ios-sdk.git
Creating working copy of package ‘ios-sdk’
Checking out 3.0.0 of package ‘ios-sdk’
Resolve Package Graph
Resolved source packages:
  SpotifyiOS: https://github.com/spotify/ios-sdk.git @ 3.0.0
  ControlKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: SpotifyiOS, ControlKit
{
  "dependencies" : [
    {
      "identity" : "ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/spotify/ios-sdk.git"
    }
  ],
  "manifest_display_name" : "ControlKit",
  "name" : "ControlKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Controllers",
      "targets" : [
        "Controllers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Control",
      "targets" : [
        "Control"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Controllers",
      "module_type" : "SwiftTarget",
      "name" : "Controllers",
      "path" : "Sources/Controllers",
      "product_dependencies" : [
        "SpotifyiOS"
      ],
      "product_memberships" : [
        "Controllers"
      ],
      "sources" : [
        "AppleMusicController.swift",
        "Controllers.swift",
        "Extensions/DAO.swift",
        "Extensions/SPTAppRemote.swift",
        "PlaybackController.swift",
        "SpotifyController.swift",
        "SystemController.swift",
        "VolumeController.swift"
      ],
      "target_dependencies" : [
        "Control"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Control",
      "module_type" : "SwiftTarget",
      "name" : "Control",
      "path" : "Sources/Control",
      "product_memberships" : [
        "Controllers",
        "Control"
      ],
      "sources" : [
        "Control.swift",
        "Extensions/BetweenZeroAndOneInclusive.swift",
        "Extensions/MPMusicPlaybackState.swift",
        "Extensions/MPVolumeView.swift",
        "Haptics.swift",
        "Playback.swift",
        "Volume.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Control",
      "ControlKit-Package",
      "Controllers"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ControlKit-Package -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-16.2.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 ControlKit-Package -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
Resolve Package Graph
Resolved source packages:
  ControlKit: /Users/admin/builder/spi-builder-workspace
  SpotifyiOS: https://github.com/spotify/ios-sdk.git @ 3.0.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'Controllers' in project 'ControlKit'
        ➜ Explicit dependency on target 'Controllers' in project 'ControlKit'
        ➜ Explicit dependency on target 'Control' in project 'ControlKit'
        ➜ Explicit dependency on target 'SpotifyiOS' in project 'SpotifyiOS'
    Target 'Controllers' in project 'ControlKit'
        ➜ Explicit dependency on target 'Control' in project 'ControlKit'
        ➜ Explicit dependency on target 'SpotifyiOS' in project 'SpotifyiOS'
    Target 'SpotifyiOS' in project 'SpotifyiOS' (no dependencies)
    Target 'Control' in project 'ControlKit'
        ➜ Explicit dependency on target 'Control' in project 'ControlKit'
    Target 'Control' in project 'ControlKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: fdab99471f933afd18c2f0eaff332623
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/fdab99471f933afd18c2f0eaff332623.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'Controllers' from project 'ControlKit')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'Controllers' from project 'ControlKit')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'Controllers' from project 'ControlKit')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'SpotifyiOS' from project 'SpotifyiOS')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ControlKit-Package
(1 failure)
Command line invocation:
    /Applications/Xcode-16.2.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
Resolve Package Graph
Resolved source packages:
  SpotifyiOS: https://github.com/spotify/ios-sdk.git @ 3.0.0
  ControlKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: SpotifyiOS, ControlKit
{
  "dependencies" : [
    {
      "identity" : "ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/spotify/ios-sdk.git"
    }
  ],
  "manifest_display_name" : "ControlKit",
  "name" : "ControlKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Controllers",
      "targets" : [
        "Controllers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Control",
      "targets" : [
        "Control"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Controllers",
      "module_type" : "SwiftTarget",
      "name" : "Controllers",
      "path" : "Sources/Controllers",
      "product_dependencies" : [
        "SpotifyiOS"
      ],
      "product_memberships" : [
        "Controllers"
      ],
      "sources" : [
        "AppleMusicController.swift",
        "Controllers.swift",
        "Extensions/DAO.swift",
        "Extensions/SPTAppRemote.swift",
        "PlaybackController.swift",
        "SpotifyController.swift",
        "SystemController.swift",
        "VolumeController.swift"
      ],
      "target_dependencies" : [
        "Control"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Control",
      "module_type" : "SwiftTarget",
      "name" : "Control",
      "path" : "Sources/Control",
      "product_memberships" : [
        "Controllers",
        "Control"
      ],
      "sources" : [
        "Control.swift",
        "Extensions/BetweenZeroAndOneInclusive.swift",
        "Extensions/MPMusicPlaybackState.swift",
        "Extensions/MPVolumeView.swift",
        "Haptics.swift",
        "Playback.swift",
        "Volume.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Control",
      "ControlKit-Package",
      "Controllers"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ControlKit-Package -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-16.2.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 ControlKit-Package -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:
  ControlKit: /Users/admin/builder/spi-builder-workspace
  SpotifyiOS: https://github.com/spotify/ios-sdk.git @ 3.0.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'Controllers' in project 'ControlKit'
        ➜ Explicit dependency on target 'Controllers' in project 'ControlKit'
        ➜ Explicit dependency on target 'Control' in project 'ControlKit'
        ➜ Explicit dependency on target 'SpotifyiOS' in project 'SpotifyiOS'
    Target 'Controllers' in project 'ControlKit'
        ➜ Explicit dependency on target 'Control' in project 'ControlKit'
        ➜ Explicit dependency on target 'SpotifyiOS' in project 'SpotifyiOS'
    Target 'SpotifyiOS' in project 'SpotifyiOS' (no dependencies)
    Target 'Control' in project 'ControlKit'
        ➜ Explicit dependency on target 'Control' in project 'ControlKit'
    Target 'Control' in project 'ControlKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: fdab99471f933afd18c2f0eaff332623
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/fdab99471f933afd18c2f0eaff332623.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'Controllers' from project 'ControlKit')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'Controllers' from project 'ControlKit')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'Controllers' from project 'ControlKit')
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/ios-sdk/SpotifyiOS.xcframework'. (in target 'SpotifyiOS' from project 'SpotifyiOS')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ControlKit-Package
(1 failure)
BUILD FAILURE 6.0 watchOS