Product required by package not found. Did you mean .product(name: "Foo", package: "bar")
?
#7732
Open
1 task done
Labels
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
In my livestream today, I attempted to expose a product (
CPlaydate
) from a dependent package (PlaydateKit
):However, upon doing so, I ended up receiving this odd error:
Even though my code was defined as:
Livestream clip here: https://www.youtube.com/live/vVdejfuPlHc?si=HFln50UoRPCT2u8M&t=3650
@rauhul also noticed this error on the livestream.
Expected behavior
The command
swift build -c release
works as expected.Actual behavior
However, upon doing so, I ended up receiving this odd error:
Steps to reproduce
No response
Swift Package Manager version/commit hash
Swift Package Manager - Swift 6.0.0-dev
Swift & OS version (output of
swift --version ; uname -a
)Swift version 6.0-dev (LLVM ed26ccb500109e5, Swift b3b2f37262690ca)
Target: x86_64-unknown-linux-gnu
Linux ForestSurface 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: