The Swift Package Index logo.Swift Package Index

Build Information

Failed to build libtesseract with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyTesseract/libtesseract.git
Reference: develop
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/SwiftyTesseract/libtesseract
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 5083cd9 Update README.md
Cloned https://github.com/SwiftyTesseract/libtesseract.git
Revision (git rev-parse @):
5083cd98f0c541fba2a495ab2c6f7d86fe3b1c44
SUCCESS checkout https://github.com/SwiftyTesseract/libtesseract.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SwiftyTesseract/libtesseract.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
[17753/219215712] Downloading https://github.com/SwiftyTesseract/libtesseract/releases/download/0.2.0/libtesseract-0.2.0.xcframework.zip
Downloading binary artifact https://github.com/SwiftyTesseract/libtesseract/releases/download/0.2.0/libtesseract-0.2.0.xcframework.zip
error: failed downloading 'https://github.com/SwiftyTesseract/libtesseract/releases/download/0.2.0/libtesseract-0.2.0.xcframework.zip' which is required by binary target 'libtesseract': /Users/admin/Library/Caches/org.swift.swiftpm/artifacts/https___github_com_SwiftyTesseract_libtesseract_releases_download_0_2_0_libtesseract_0_2_0_xcframework_zip already exists in file system
Fetching binary artifact https://github.com/SwiftyTesseract/libtesseract/releases/download/0.2.0/libtesseract-0.2.0.xcframework.zip from cache
Fetched https://github.com/SwiftyTesseract/libtesseract/releases/download/0.2.0/libtesseract-0.2.0.xcframework.zip from cache (9.81s)
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