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

Successful build of onnxruntime, reference 1.20.0 (12ce73), with Swift 6.2 for macOS (SPM) on 8 Nov 2025 07:41:29 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

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: 1.20.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/onnxruntime-swift-package-manager
 * tag               1.20.0     -> FETCH_HEAD
HEAD is now at 12ce737 Add release_instructions.md. (#26)
Cloned https://github.com/microsoft/onnxruntime-swift-package-manager.git
Revision (git rev-parse @):
12ce7374c86944e1f68f3a866d10105d8357f074
SUCCESS checkout https://github.com/microsoft/onnxruntime-swift-package-manager.git at 1.20.0
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
[15765/19359053] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
[49134/63577769] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip, https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip (1.19s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (2.56s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "onnxruntime-swift-package-manager",
      "name": "onnxruntime",
      "url": "https://github.com/microsoft/onnxruntime-swift-package-manager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/onnxruntime-swift-package-manager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/microsoft/onnxruntime-swift-package-manager.git
[1/1043] Fetching onnxruntime-swift-package-manager
Fetched https://github.com/microsoft/onnxruntime-swift-package-manager.git from cache (2.29s)
Creating working copy for https://github.com/microsoft/onnxruntime-swift-package-manager.git
Working copy of https://github.com/microsoft/onnxruntime-swift-package-manager.git resolved at 1.20.0 (12ce737)
Fetching binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip from cache
Fetching binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip from cache
Fetched https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip from cache (1.44s)
Fetched https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip from cache (2.13s)
warning: '.resolve-product-dependencies': dependency 'onnxruntime-swift-package-manager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/microsoft/onnxruntime-swift-package-manager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/16] Copying onnxruntime_extensions.framework
[1/16] Copying onnxruntime.framework
[2/16] Compiling OnnxRuntimeBindings assert_arc_enabled.mm
In file included from /Users/admin/builder/spi-builder-workspace/extensions/OrtExt.mm:4:
/Users/admin/builder/spi-builder-workspace/extensions/include/OrtExt.h:8:84: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    8 | typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
      |                                                                                    ^
/Users/admin/builder/spi-builder-workspace/extensions/include/OrtExt.h:8:84: note: insert '_Nullable' if the pointer may be null
    8 | typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
      |                                                                                    ^
      |                                                                                      _Nullable
/Users/admin/builder/spi-builder-workspace/extensions/include/OrtExt.h:8:84: note: insert '_Nonnull' if the pointer should never be null
    8 | typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
      |                                                                                    ^
      |                                                                                      _Nonnull
1 warning generated.
[3/16] Compiling OnnxRuntimeExtensions OrtExt.mm
[4/16] Write Objects.LinkFileList
[5/16] Archiving libonnxruntime_extensions.a
[6/16] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.mm
[7/16] Compiling OnnxRuntimeBindings cxx_utils.mm
[8/16] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.mm
[9/16] Compiling OnnxRuntimeBindings error_utils.mm
[10/16] Compiling OnnxRuntimeBindings ort_env.mm
[11/16] Compiling OnnxRuntimeBindings ort_enums.mm
[11/16] Compiling OnnxRuntimeBindings ort_value.mm
[13/16] Compiling OnnxRuntimeBindings ort_session.mm
[14/16] Write Objects.LinkFileList
[15/16] Archiving libonnxruntime.a
Build complete! (1.85s)
Build complete.
{
  "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"
}
Done.