swiftlang/swift-package-manager

Examples/package-info project does not build

Closed this issue · 0 comments

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

  • Confirmed reproduction steps with SwiftPM CLI.

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