Build Information
Failed to build PayHereSDK, reference master (dd60b3), with Swift 6.3 for macOS (SPM) on 29 Sep 2026 23:05:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PayHereLK/payhere-mobilesdk-ios
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6342] Fetching objectmapper
[2221/39285] Fetching objectmapper, alamofire
[5901/65332] Fetching objectmapper, alamofire, sdwebimage
Fetched https://github.com/Alamofire/Alamofire.git from cache (6.40s)
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (6.40s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (6.40s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.5 (7.08s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3 (0.69s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.59s)
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/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.5
Creating working copy for https://github.com/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.4.3
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "payhere-mobilesdk-ios",
"name": "PayHereSDK",
"url": "https://github.com/PayHereLK/payhere-mobilesdk-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/payhere-mobilesdk-ios",
"traits": [
"default"
],
"dependencies": [
{
"identity": "alamofire",
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "5.12.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "objectmapper",
"name": "ObjectMapper",
"url": "https://github.com/tristanhimmelman/ObjectMapper.git",
"version": "4.4.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ObjectMapper",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "sdwebimage",
"name": "SDWebImage",
"url": "https://github.com/SDWebImage/SDWebImage.git",
"version": "5.21.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImage",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/PayHereLK/payhere-mobilesdk-ios.git
[1/1618] Fetching payhere-mobilesdk-ios
Fetched https://github.com/PayHereLK/payhere-mobilesdk-ios.git from cache (1.29s)
Fetching https://github.com/tristanhimmelman/ObjectMapper.git from cache
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (0.82s)
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (0.82s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.82s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.88s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3 (0.04s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.03s)
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/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.4.3
Creating working copy for https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Working copy of https://github.com/PayHereLK/payhere-mobilesdk-ios.git resolved at master (dd60b3d)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
warning: '.resolve-product-dependencies': dependency 'payhere-mobilesdk-ios' is not used by any target
Found 3 product dependencies
- Alamofire
- ObjectMapper
- SDWebImage
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
error: the library 'PayHereSDK' requires macos 10.13, but depends on the product 'ObjectMapper' which requires macos 12.0; consider changing the library 'PayHereSDK' to require macos 12.0 or later, or the product 'ObjectMapper' to require macos 10.13 or earlier.
BUILD FAILURE 6.3 macosSpm