swift build
results in PlatformPath
warning from xcrun
, fails completely for some
#7480
Open
1 task done
Labels
swift build
results in PlatformPath
warning from xcrun
, fails completely for some
#7480
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?Description
When I use
swift build
to build a simple package (just this: https://github.com/wandb/wandb/tree/main/apple_stats), I see the following warning in the terminal:For some coworkers, this is an error instead of a warning, failing the build completely.
I'm guessing this is a version issue, but it's difficult to figure out online how/what to upgrade for those who get an error. I also do not understand why there is a warning at all.
Expected behavior
No warning and no error. It should just build.
Actual behavior
A warning for some; an error for others.
Steps to reproduce
cd
into it and runswift build
Swift Package Manager version/commit hash
No response
Swift & OS version (output of
swift --version ; uname -a
)Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-darwin23.1.0
Darwin Timofey-Peshin-K50H236L02.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct 9 21:33:00 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T6031 arm64
The text was updated successfully, but these errors were encountered: