Build Information
Failed to build PGW, reference 4.7.0 (2d374a
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 18:17:16 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/PGWSDK-SwiftPackage.git
Reference: 4.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/2C2P/PGWSDK-SwiftPackage
* tag 4.7.0 -> FETCH_HEAD
HEAD is now at 2d374aa - Update for PGW SDK v4.7.0.
Cloned https://github.com/2C2P/PGWSDK-SwiftPackage.git
Revision (git rev-parse @):
2d374aadd1fd8bba1d92a1da26541428721a0f70
SUCCESS checkout https://github.com/2C2P/PGWSDK-SwiftPackage.git at 4.7.0
[16940/1264885] Downloading https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/PGW/PGW_SDK_iOS_v4.7.0.zip
Downloading binary artifact https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/PGW/PGW_SDK_iOS_v4.7.0.zip
Downloaded https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/PGW/PGW_SDK_iOS_v4.7.0.zip (2.60s)
========================================
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": "pgwsdk-swiftpackage",
"name": "PGW",
"url": "https://github.com/2C2P/PGWSDK-SwiftPackage.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PGWSDK-SwiftPackage",
"dependencies": [
]
}
]
}
Fetching https://github.com/2C2P/PGWSDK-SwiftPackage.git
[1/17] Fetching pgwsdk-swiftpackage
Fetched https://github.com/2C2P/PGWSDK-SwiftPackage.git from cache (0.67s)
Creating working copy for https://github.com/2C2P/PGWSDK-SwiftPackage.git
Working copy of https://github.com/2C2P/PGWSDK-SwiftPackage.git resolved at 4.7.0 (2d374aa)
Fetching binary artifact https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/PGW/PGW_SDK_iOS_v4.7.0.zip from cache
Fetched https://2c2p-cloudfront.s3.ap-southeast-1.amazonaws.com/devPortal/demoCode/Mobile/PGW_SDK/PGW/PGW_SDK_iOS_v4.7.0.zip from cache (0.12s)
warning: '.resolve-product-dependencies': dependency 'pgwsdk-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/PGWSDK-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