Build Information
Failed to build SpeziMedication with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziMedication.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordSpezi/SpeziMedication
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 03d82c2 Fixing decoding times if times was never encoded error (#12)
Cloned https://github.com/StanfordSpezi/SpeziMedication.git
Revision (git rev-parse @):
03d82c275be588970eda4d5ab335609a8260014b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at main
Fetching https://github.com/StanfordSpezi/SpeziViews from cache
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.24s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.3.1 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.02s)
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "spezimedication",
"name": "SpeziMedication",
"url": "https://github.com/StanfordSpezi/SpeziMedication.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziMedication",
"dependencies": [
{
"identity": "speziviews",
"name": "SpeziViews",
"url": "https://github.com/StanfordSpezi/SpeziViews",
"version": "1.3.1",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SpeziViews",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.0",
"path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/StanfordSpezi/SpeziMedication.git
[9/803] Fetching spezimedication
Fetched https://github.com/StanfordSpezi/SpeziMedication.git from cache (0.35s)
Fetching https://github.com/StanfordSpezi/SpeziViews from cache
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.21s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.3.1 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.02s)
Creating working copy for https://github.com/StanfordSpezi/SpeziMedication.git
Working copy of https://github.com/StanfordSpezi/SpeziMedication.git resolved at main (03d82c2)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.3.1
warning: '.resolve-product-dependencies': dependency 'spezimedication' is not used by any target
Found 1 product dependencies
- SpeziViews
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/StanfordSpezi/SpeziMedication.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
error: the library 'SpeziMedication' requires macos 10.13, but depends on the product 'SpeziViews' which requires macos 14.0; consider changing the library 'SpeziMedication' to require macos 14.0 or later, or the product 'SpeziViews' to require macos 10.13 or earlier.
error: the library 'SpeziMedication' requires macos 10.13, but depends on the product 'SpeziViews' which requires macos 14.0; consider changing the library 'SpeziMedication' to require macos 14.0 or later, or the product 'SpeziViews' to require macos 10.13 or earlier.
BUILD FAILURE 5.10 macosSpm