Build Information
Failed to build PayHereSDK, reference 4.0.2 (dd60b3), with Swift 6.3 for macOS (SPM) on 29 Sep 2026 22:58:53 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: 4.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/26047] Fetching sdwebimage
[2/58990] Fetching sdwebimage, alamofire
[263/65332] Fetching sdwebimage, alamofire, objectmapper
Fetched https://github.com/Alamofire/Alamofire.git from cache (7.35s)
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (7.35s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (7.35s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.5 (8.05s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3 (0.66s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.58s)
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/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
========================================
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.27s)
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetching https://github.com/tristanhimmelman/ObjectMapper.git from cache
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (0.84s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (0.84s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.84s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.90s)
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/PayHereLK/payhere-mobilesdk-ios.git
Working copy of https://github.com/PayHereLK/payhere-mobilesdk-ios.git resolved at 4.0.2 (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
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: '.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