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 onnxruntime, reference main (2821ca), with Swift 6.2 for watchOS using Xcode 26.0 on 8 Nov 2025 07:39:52 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/onnxruntime-swift-package-manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/onnxruntime-swift-package-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2821ca3 Create codeql.yml (#33)
Cloned https://github.com/microsoft/onnxruntime-swift-package-manager.git
Revision (git rev-parse @):
2821ca3c4d47964ef970d3fa2ba2e30fb85cdfaa
SUCCESS checkout https://github.com/microsoft/onnxruntime-swift-package-manager.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.2
Building package at path:  $PWD
https://github.com/microsoft/onnxruntime-swift-package-manager.git
Command line invocation:
    /Applications/Xcode-26.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  onnxruntime: /Users/admin/builder/spi-builder-workspace
resolved source packages: onnxruntime
2025-11-08 02:39:42.325 xcodebuild[521:3066] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "onnxruntime",
  "name" : "onnxruntime",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "onnxruntime",
      "targets" : [
        "OnnxRuntimeBindings"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "onnxruntime_extensions",
      "targets" : [
        "OnnxRuntimeExtensions"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "onnxruntime_extensions",
      "module_type" : "BinaryTarget",
      "name" : "onnxruntime_extensions",
      "path" : "remote/archive/pod-archive-onnxruntime-extensions-c-0.13.0.zip",
      "product_memberships" : [
        "onnxruntime_extensions"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "onnxruntime",
      "module_type" : "BinaryTarget",
      "name" : "onnxruntime",
      "path" : "remote/archive/pod-archive-onnxruntime-c-1.20.0.zip",
      "product_memberships" : [
        "onnxruntime",
        "onnxruntime_extensions"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "OnnxRuntimeExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "OnnxRuntimeExtensionsTests",
      "path" : "swift/OnnxRuntimeExtensionsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeExtensionsTests/Resources/decode_image.onnx",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SwiftOnnxRuntimeExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "OnnxRuntimeExtensions",
        "OnnxRuntimeBindings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OnnxRuntimeExtensions",
      "module_type" : "ClangTarget",
      "name" : "OnnxRuntimeExtensions",
      "path" : "extensions",
      "product_memberships" : [
        "onnxruntime_extensions"
      ],
      "sources" : [
        "OrtExt.mm"
      ],
      "target_dependencies" : [
        "onnxruntime_extensions",
        "onnxruntime"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OnnxRuntimeBindingsTests",
      "module_type" : "SwiftTarget",
      "name" : "OnnxRuntimeBindingsTests",
      "path" : "swift/OnnxRuntimeBindingsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeBindingsTests/Resources/single_add.basic.ort",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SwiftOnnxRuntimeBindingsTests.swift"
      ],
      "target_dependencies" : [
        "OnnxRuntimeBindings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OnnxRuntimeBindings",
      "module_type" : "ClangTarget",
      "name" : "OnnxRuntimeBindings",
      "path" : "objectivec",
      "product_memberships" : [
        "onnxruntime"
      ],
      "sources" : [
        "assert_arc_enabled.mm",
        "cxx_utils.mm",
        "error_utils.mm",
        "ort_coreml_execution_provider.mm",
        "ort_enums.mm",
        "ort_env.mm",
        "ort_session.mm",
        "ort_value.mm",
        "ort_xnnpack_execution_provider.mm"
      ],
      "target_dependencies" : [
        "onnxruntime"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "onnxruntime",
      "onnxruntime_extensions",
      "onnxruntime-Package"
    ]
  }
}
2025-11-08 02:39:47.243 xcodebuild[630:3743] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme onnxruntime-Package -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-26.0.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 onnxruntime-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  onnxruntime: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'onnxruntime_extensions' in project 'onnxruntime'
        ➜ Explicit dependency on target 'OnnxRuntimeExtensions' in project 'onnxruntime'
    Target 'OnnxRuntimeExtensions' in project 'onnxruntime' (no dependencies)
    Target 'onnxruntime' in project 'onnxruntime'
        ➜ Explicit dependency on target 'OnnxRuntimeBindings' in project 'onnxruntime'
    Target 'OnnxRuntimeBindings' in project 'onnxruntime' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x objective-c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
Build description signature: e1ae0223d733f36851e7e23ca0cd675e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e1ae0223d733f36851e7e23ca0cd675e.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime_extensions/onnxruntime_extensions.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/onnxruntime_extensions/onnxruntime_extensions.xcframework'. (in target 'OnnxRuntimeExtensions' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'OnnxRuntimeExtensions' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'OnnxRuntimeBindings' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'onnxruntime' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime_extensions/onnxruntime_extensions.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/onnxruntime_extensions/onnxruntime_extensions.xcframework'. (in target 'onnxruntime_extensions' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'onnxruntime_extensions' from project 'onnxruntime')
2025-11-08 02:39:48.685 xcodebuild[632:3775] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme onnxruntime-Package
(1 failure)
Command line invocation:
    /Applications/Xcode-26.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  onnxruntime: /Users/admin/builder/spi-builder-workspace
resolved source packages: onnxruntime
2025-11-08 02:39:50.416 xcodebuild[658:3891] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "onnxruntime",
  "name" : "onnxruntime",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "onnxruntime",
      "targets" : [
        "OnnxRuntimeBindings"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "onnxruntime_extensions",
      "targets" : [
        "OnnxRuntimeExtensions"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "onnxruntime_extensions",
      "module_type" : "BinaryTarget",
      "name" : "onnxruntime_extensions",
      "path" : "remote/archive/pod-archive-onnxruntime-extensions-c-0.13.0.zip",
      "product_memberships" : [
        "onnxruntime_extensions"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "onnxruntime",
      "module_type" : "BinaryTarget",
      "name" : "onnxruntime",
      "path" : "remote/archive/pod-archive-onnxruntime-c-1.20.0.zip",
      "product_memberships" : [
        "onnxruntime",
        "onnxruntime_extensions"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "OnnxRuntimeExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "OnnxRuntimeExtensionsTests",
      "path" : "swift/OnnxRuntimeExtensionsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeExtensionsTests/Resources/decode_image.onnx",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SwiftOnnxRuntimeExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "OnnxRuntimeExtensions",
        "OnnxRuntimeBindings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OnnxRuntimeExtensions",
      "module_type" : "ClangTarget",
      "name" : "OnnxRuntimeExtensions",
      "path" : "extensions",
      "product_memberships" : [
        "onnxruntime_extensions"
      ],
      "sources" : [
        "OrtExt.mm"
      ],
      "target_dependencies" : [
        "onnxruntime_extensions",
        "onnxruntime"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OnnxRuntimeBindingsTests",
      "module_type" : "SwiftTarget",
      "name" : "OnnxRuntimeBindingsTests",
      "path" : "swift/OnnxRuntimeBindingsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeBindingsTests/Resources/single_add.basic.ort",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SwiftOnnxRuntimeBindingsTests.swift"
      ],
      "target_dependencies" : [
        "OnnxRuntimeBindings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OnnxRuntimeBindings",
      "module_type" : "ClangTarget",
      "name" : "OnnxRuntimeBindings",
      "path" : "objectivec",
      "product_memberships" : [
        "onnxruntime"
      ],
      "sources" : [
        "assert_arc_enabled.mm",
        "cxx_utils.mm",
        "error_utils.mm",
        "ort_coreml_execution_provider.mm",
        "ort_enums.mm",
        "ort_env.mm",
        "ort_session.mm",
        "ort_value.mm",
        "ort_xnnpack_execution_provider.mm"
      ],
      "target_dependencies" : [
        "onnxruntime"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "onnxruntime",
      "onnxruntime_extensions",
      "onnxruntime-Package"
    ]
  }
}
2025-11-08 02:39:51.495 xcodebuild[666:3950] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme onnxruntime-Package -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-26.0.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 onnxruntime-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  onnxruntime: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
    Target 'onnxruntime_extensions' in project 'onnxruntime'
        ➜ Explicit dependency on target 'OnnxRuntimeExtensions' in project 'onnxruntime'
    Target 'OnnxRuntimeExtensions' in project 'onnxruntime' (no dependencies)
    Target 'onnxruntime' in project 'onnxruntime'
        ➜ Explicit dependency on target 'OnnxRuntimeBindings' in project 'onnxruntime'
    Target 'OnnxRuntimeBindings' in project 'onnxruntime' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'OnnxRuntimeBindings' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'onnxruntime_extensions' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime_extensions/onnxruntime_extensions.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/onnxruntime_extensions/onnxruntime_extensions.xcframework'. (in target 'onnxruntime_extensions' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'onnxruntime' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime/onnxruntime.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/onnxruntime/onnxruntime.xcframework'. (in target 'OnnxRuntimeExtensions' from project 'onnxruntime')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/onnxruntime_extensions/onnxruntime_extensions.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/onnxruntime_extensions/onnxruntime_extensions.xcframework'. (in target 'OnnxRuntimeExtensions' from project 'onnxruntime')
2025-11-08 02:39:52.299 xcodebuild[668:3980] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme onnxruntime-Package
(1 failure)
BUILD FAILURE 6.2 watchOS