Build Information
Failed to build PayHereSDK, reference master (dd60b3), with Swift 6.4 for macOS (SPM) on 29 Sep 2026 23:01:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Planning deferred tasks]
[11 / 263]
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
[1/6342] Fetching objectmapper
[2/32389] Fetching objectmapper, sdwebimage
[7263/65332] Fetching objectmapper, sdwebimage, alamofire
Fetched https://github.com/SDWebImage/SDWebImage.git (4.73s)
Fetched https://github.com/tristanhimmelman/ObjectMapper.git (4.73s)
[31296/32943] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (5.79s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (6.43s)
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/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.65s)
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
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
/* com.apple.ibtool.errors */
/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PaymentOptionTableViewCell.xib: error: iOS xibs do not support target device type "mac".
error: CompileXIB /Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PaymentOptionTableViewCell.xib failed with a nonzero exit code. Command line: cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module PayHereSDK_PayHereSDK --output-partial-info-plist /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/PayHereSDK.build/Debug/PayHereSDK_PayHereSDK-b.build/PaymentOptionTableViewCell-PartialInfo.plist --auto-activate-custom-fonts --target-device mac --minimum-deployment-target 12.0 --output-format human-readable-text --compile /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PayHereSDK_PayHereSDK.bundle/Contents/Resources/PaymentOptionTableViewCell.nib /Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PaymentOptionTableViewCell.xib
error: Build failed
BUILD FAILURE 6.4 macosSpm