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 SDWebImageHEIFCoder, reference 0.10.1 (d124df), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 20:59:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Reference: 0.10.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/SDWebImage/SDWebImageHEIFCoder
 * tag               0.10.1     -> FETCH_HEAD
HEAD is now at d124dfd Bumped version to 0.10.1
Cloned https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Revision (git rev-parse @):
d124dfd1bf562489edb5964e41ad7cc7983b83f4
SUCCESS checkout https://github.com/SDWebImage/SDWebImageHEIFCoder.git at 0.10.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/SDWebImage/libheif-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/663] Fetching libheif-xcode
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (0.28s)
[1/25763] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.96s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.17.0 (2.87s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git
[1/276] Fetching libde265-xcode
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (0.28s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15 (1.20s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.1 (0.55s)
Creating working copy for https://github.com/SDWebImage/libheif-Xcode.git
Working copy of https://github.com/SDWebImage/libheif-Xcode.git resolved at 1.17.0
Creating working copy for https://github.com/SDWebImage/libde265-Xcode.git
Working copy of https://github.com/SDWebImage/libde265-Xcode.git resolved at 1.0.15
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.1
Building for debugging...
In file included from /host/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:8:
In file included from /host/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
   10 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling SDImageHEIFCoder.m
BUILD FAILURE 6.2 wasm