Build Information
Failed to build SecurePay, reference main (07e6c7
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 15:33:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/2C2P/SecurePaySDK-SwiftPackage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/2C2P/SecurePaySDK-SwiftPackage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 07e6c7c - Update for SecurePay SDK v2.1.0.
Cloned https://github.com/2C2P/SecurePaySDK-SwiftPackage.git
Revision (git rev-parse @):
07e6c7c29615607d6a91390735f0c1425d1d0e24
SUCCESS checkout https://github.com/2C2P/SecurePaySDK-SwiftPackage.git at main
[15798/128831] Downloading https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/SecurePay/SECUREPAY_SDK_iOS_v2.1.0.zip
Downloading binary artifact https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/SecurePay/SECUREPAY_SDK_iOS_v2.1.0.zip
Downloaded https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/SecurePay/SECUREPAY_SDK_iOS_v2.1.0.zip (1.94s)
========================================
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",
"dependencies": [
{
"identity": "securepaysdk-swiftpackage",
"name": "SecurePay",
"url": "https://github.com/2C2P/SecurePaySDK-SwiftPackage.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SecurePaySDK-SwiftPackage",
"dependencies": [
]
}
]
}
Fetching https://github.com/2C2P/SecurePaySDK-SwiftPackage.git
[1/13] Fetching securepaysdk-swiftpackage
Fetched https://github.com/2C2P/SecurePaySDK-SwiftPackage.git from cache (0.58s)
Creating working copy for https://github.com/2C2P/SecurePaySDK-SwiftPackage.git
Working copy of https://github.com/2C2P/SecurePaySDK-SwiftPackage.git resolved at main (07e6c7c)
Fetching binary artifact https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/SecurePay/SECUREPAY_SDK_iOS_v2.1.0.zip from cache
Fetched https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/SecurePay/SECUREPAY_SDK_iOS_v2.1.0.zip from cache (0.03s)
warning: '.resolve-product-dependencies': dependency 'securepaysdk-swiftpackage' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/2C2P/SecurePaySDK-SwiftPackage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm