Open
Description
I'm building a UI library as a Swift Package. Attempting to use SnapshotTesting
gives me this:

Here's my package file:
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ChatDesignSystem",
platforms: [.macOS(.v15), .iOS(.v18), .tvOS(.v18), .watchOS(.v11), .macCatalyst(.v18)],
products: [
.library(
name: "ChatDesignSystem",
targets: ["ChatDesignSystem"]),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", branch: "main")
],
targets: [
.target(
name: "ChatDesignSystem"),
.testTarget(
name: "ChatDesignSystemTests",
dependencies: [
"ChatDesignSystem",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
]
),
]
)
Is this not supported in a Swift Package?
Metadata
Metadata
Assignees
Labels
No labels