The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FaceRecognitionArcFace, reference 2.0.1 (c93222), with Swift 6.2 for Android on 3 Feb 2026 01:49:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
Reference: 2.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at c932224 Merge branch 'development'
Cloned https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
Revision (git rev-parse @):
c9322246731b22ec8ae674fc7f83c9028109d755
SUCCESS checkout https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git at 2.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AppliedRecognition/Face-Recognition-ArcFace-Apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:0e5e7915595da63d8208b049b9b111c031f8df8a6b9b79e3bba6f3737b8b2f25
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/microsoft/onnxruntime-swift-package-manager.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
[1/1250] Fetching ver-id-common-types-apple
[1001/2318] Fetching ver-id-common-types-apple, onnxruntime-swift-package-manager
[1211/10219] Fetching ver-id-common-types-apple, onnxruntime-swift-package-manager, ohhttpstubs
Fetched https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git from cache (0.30s)
[6576/8969] Fetching onnxruntime-swift-package-manager, ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.58s)
[105/1068] Fetching onnxruntime-swift-package-manager
Fetched https://github.com/microsoft/onnxruntime-swift-package-manager.git from cache (2.63s)
Computing version for https://github.com/microsoft/onnxruntime-swift-package-manager.git
Computed https://github.com/microsoft/onnxruntime-swift-package-manager.git at 1.20.0 (6.67s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.44s)
Computing version for https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Computed https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git at 3.3.0 (0.44s)
Creating working copy for https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git
Working copy of https://github.com/AppliedRecognition/Ver-ID-Common-Types-Apple.git resolved at 3.3.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
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
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
[16070/19359053] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
[148792/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 (2.92s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (6.39s)
Building for debugging...
[0/30] Write swift-version--3EE9C60077A20DAF.txt
[1/30] Write sources
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/assert_arc_enabled.mm:4:37: error: static assertion failed: Objective-C ARC must be enabled.
    4 | static_assert(__has_feature(objc_arc), "Objective-C ARC must be enabled.");
      |                                     ^
<scratch space>:4:1: note: expanded from here
    4 | 0
      | ^
1 error generated.
[3/30] Compiling OnnxRuntimeBindings assert_arc_enabled.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_env.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_env_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_env.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings ort_env.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_xnnpack_execution_provider.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_xnnpack_execution_provider.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_enums.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_enums_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_enums.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings ort_enums.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_session.mm:4:
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_session_internal.h:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_session.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings ort_session.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/cxx_utils.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/cxx_utils.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings cxx_utils.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/error_utils.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/error_utils.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings error_utils.mm
In file included from /host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/ort_coreml_execution_provider.mm:4:
/host/spi-builder-workspace/.build/checkouts/onnxruntime-swift-package-manager/objectivec/include/ort_coreml_execution_provider.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/30] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.mm
BUILD FAILURE 6.2 android