Build Information
Failed to build PayHereSDK, reference 4.0.2 (dd60b3), with Swift 6.3 for Linux on 29 Sep 2026 22:42:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Reference: 4.0.2
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/PayHereLK/payhere-mobilesdk-ios
* tag 4.0.2 -> FETCH_HEAD
HEAD is now at dd60b3d Hide unavailable payment method sections
Cloned https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Revision (git rev-parse @):
dd60b3d3084e072b4cda05bb7506504e345274f5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/PayHereLK/payhere-mobilesdk-ios.git at 4.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c577f8f8f4df4f423827bf5e7d96027716bb7030ef75b2fd4a15f7fb0043ce6d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6342] Fetching objectmapper
[6343/32389] Fetching objectmapper, sdwebimage
[9990/65332] Fetching objectmapper, sdwebimage, alamofire
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (2.13s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.15s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.16s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (2.33s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3 (0.16s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.17s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.4.3
warning: 'objectmapper': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Resources/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Info.plist
Building for debugging...
[0/90] Copying PrivacyInfo.xcprivacy
[0/90] Copying HeaderCollectionReusableView.xib
[0/90] Copying PHBottomSheetTableViewSectioHeader.xib
[0/90] Copying PayOptionCollectionViewCell.xib
[4/90] Copying PrivacyInfo.xcprivacy
[4/90] Copying HPayBold.ttf
[4/90] Copying PayWithHelaPayTableViewCell.xib
[5/90] Copying PaymentOptionTableViewCell.xib
[5/90] Copying PayHere.storyboard
[9/90] Copying PrivacyInfo.xcprivacy
[10/90] Copying HPay.ttf
[11/90] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling UIColor+SDHexString.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[14/90] Compiling SDImageFramePool.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling SDInternalMacros.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[14/90] Compiling SDWebImage resource_bundle_accessor.m
[14/90] Compiling SDImageAssetManager.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[14/90] Compiling SDImageCachesManagerOperation.m
[14/90] Compiling SDWeakProxy.m
[14/90] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 linux