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 WebRTC, reference 140.0.0 (86dbb5), with Swift 6.0 for watchOS using Xcode 16.2 on 10 Sep 2025 11:26:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stasel/WebRTC.git
Reference: 140.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stasel/WebRTC
 * tag               140.0.0    -> FETCH_HEAD
HEAD is now at 86dbb5c Updated files for release M140 (#129)
Cloned https://github.com/stasel/WebRTC.git
Revision (git rev-parse @):
86dbb5cb57e4da009b859a6245b1c10d610f215a
SUCCESS checkout https://github.com/stasel/WebRTC.git at 140.0.0
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/stasel/WebRTC.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
Resolve Package Graph
Resolved source packages:
  WebRTC: /Users/admin/builder/spi-builder-workspace
resolved source packages: WebRTC
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WebRTC",
  "name" : "WebRTC",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "WebRTC",
      "targets" : [
        "WebRTC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebRTC",
      "module_type" : "BinaryTarget",
      "name" : "WebRTC",
      "path" : "remote/archive/WebRTC-M140.xcframework.zip",
      "product_memberships" : [
        "WebRTC"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "WebRTC"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WebRTC -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 WebRTC -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:
  WebRTC: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'WebRTC' in project 'WebRTC' (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
Build description signature: d041a881971f697f5ca72b1cb0496b8f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d041a881971f697f5ca72b1cb0496b8f.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/WebRTC/WebRTC.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/WebRTC/WebRTC.xcframework'. (in target 'WebRTC' from project 'WebRTC')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme WebRTC
(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:
  WebRTC: /Users/admin/builder/spi-builder-workspace
resolved source packages: WebRTC
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WebRTC",
  "name" : "WebRTC",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "WebRTC",
      "targets" : [
        "WebRTC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebRTC",
      "module_type" : "BinaryTarget",
      "name" : "WebRTC",
      "path" : "remote/archive/WebRTC-M140.xcframework.zip",
      "product_memberships" : [
        "WebRTC"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "WebRTC"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme WebRTC -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 WebRTC -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:
  WebRTC: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'WebRTC' in project 'WebRTC' (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
Build description signature: d041a881971f697f5ca72b1cb0496b8f
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d041a881971f697f5ca72b1cb0496b8f.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/WebRTC/WebRTC.xcframework:1:1: error: While building for watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/WebRTC/WebRTC.xcframework'. (in target 'WebRTC' from project 'WebRTC')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme WebRTC
(1 failure)
BUILD FAILURE 6.0 watchOS