swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.72k stars 1.34k forks source link

Examples/package-info project does not build #7665

Closed csknns closed 3 months ago

csknns commented 3 months ago

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

Description

Following the readme building the Examples/package-info project fails with

error: the executable 'package-info' requires macos 12.0, but depends on the product 'SwiftPM' which requires macos 13.0; consider changing the executable 'package-info' to require macos 13.0 or later, or the product 'SwiftPM' to require macos 12.0 or earlier.

Expected behavior

The Examples/package-info to build succesfully

Actual behavior

The Examples/package-info fails to build

Steps to reproduce

git clone https://github.com/apple/swift-package-manager $ cd swift-package-manager/Examples/package-info $ swift run

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version ; uname -a)

Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64