Build Information
Failed to build PGW, reference main (2d374a
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 21:02:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/2C2P/PGWSDK-SwiftPackage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/2C2P/PGWSDK-SwiftPackage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[8433/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.63s)
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