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 5.10 for watchOS using Xcode 15.4 on 26 May 2025 09:38:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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:             5.10
Building package at path:  $PWD
https://github.com/superturboryan/ControlKit.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
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’
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-15.4.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-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 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
Resolve Package Graph
Prepare packages
Resolving package dependencies…
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-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 95c812215f66d807aa218962c5e80fce
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/95c812215f66d807aa218962c5e80fce.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')
2025-05-26 05:38:17.203 xcodebuild[556:3193] [MT] DVTAssertions: Warning in IDEFrameworks/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:769
Details:  log recorder for IDEActivityLogCommandInvocationSection “Resolving package dependencies…” was sent -addMessage: after it had already been asked to stop recording.
Object:   <IDEActivityLogCommandInvocationSectionRecorder: 0x60000085d260>
Method:   -addMessage:
Thread:   <_NSMainThread: 0x600003688180>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2025-05-26 05:38:17.249 xcodebuild[556:3193] [MT] DVTAssertions: Warning in IDEFrameworks/IDEFoundation/Logging/ActivityLog/IDEActivityLogSectionRecorder.m:769
Details:  log recorder for IDEActivityLogCommandInvocationSection “Resolving package dependencies…” was sent -addMessage: after it had already been asked to stop recording.
Object:   <IDEActivityLogCommandInvocationSectionRecorder: 0x60000085d260>
Method:   -addMessage:
Thread:   <_NSMainThread: 0x600003688180>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
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
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-15.4.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-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 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-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 95c812215f66d807aa218962c5e80fce
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/95c812215f66d807aa218962c5e80fce.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 'SpotifyiOS' from project 'SpotifyiOS')
/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')
** BUILD FAILED **
BUILD FAILURE 5.10 watchOS