Build Information
Failed to build InsuranceCardScan with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CardScan-ai/insurance-card-scan-ios.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/CardScan-ai/insurance-card-scan-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e777fbe Version bump to 3.0.6
Cloned https://github.com/CardScan-ai/insurance-card-scan-ios.git
Revision (git rev-parse @):
e777fbef1b703d4707c5cb99ec60876267124b15
SUCCESS checkout https://github.com/CardScan-ai/insurance-card-scan-ios.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "insurance-card-scan-ios",
"name": "InsuranceCardScan",
"url": "https://github.com/CardScan-ai/insurance-card-scan-ios.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/insurance-card-scan-ios",
"dependencies": [
]
}
]
}
Fetching https://github.com/CardScan-ai/insurance-card-scan-ios.git from cache
Fetched https://github.com/CardScan-ai/insurance-card-scan-ios.git from cache (0.83s)
Creating working copy for https://github.com/CardScan-ai/insurance-card-scan-ios.git
Working copy of https://github.com/CardScan-ai/insurance-card-scan-ios.git resolved at main (e777fbe)
warning: '.resolve-product-dependencies': dependency 'insurance-card-scan-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/CardScan-ai/insurance-card-scan-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 5.10 macosSpm