Build Information
Failed to build SDWebImageSVGCoder with Swift 5.7 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageSVGCoder.git
Reference: master
Cloned https://github.com/SDWebImage/SDWebImageSVGCoder.git into spi-builder-workspace
SUCCESS checkout https://github.com/SDWebImage/SDWebImageSVGCoder.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.7
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/23927] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git (1.56s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.17.0 (0.27s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.17.0
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageSVGCoder/Classes/SDImageSVGCoder.h:9:
In file included from <module-includes>:1:
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
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/SDWebImageSVGCoder/Classes/SDImageSVGCoder.m:8:
/host/spi-builder-workspace/SDWebImageSVGCoder/Classes/SDImageSVGCoder.h:9:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
~~~~~~~^
2 errors generated.
[0/2] Compiling SDImageSVGCoder.m
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageSVGCoder/Classes/SDWebImageSVGCoderDefine.h:9:
In file included from <module-includes>:1:
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
#import <TargetConditionals.h>
^~~~~~~~~~~~~~~~~~~~~~
[0/2] Compiling SDWebImageSVGCoderDefine.m
BUILD FAILURE 5.7 linux
Build Machine: Linux 1