Skip to content

Linux: error: product dependency 'Yaml' in package 'YamlSwift' not found #83

Open
@vitalz

Description

I've added YamlSwift to my Project package deps:

   dependencies: [
       .package(url: "https://github.com/behrang/YamlSwift.git", from: "3.4.4"),
   ]

and to target deps:

            .target(
            name: "MyAppTarget",
            dependencies: [
               .product(name: "Yaml", package: "YamlSwift"),
            ],   

Then Yaml works fine on native macOS.
But when I try to compile app code in Docker swift container (from swift:5.3-focal image) it will fail:

error: product dependency 'Yaml' in package 'YamlSwift' not found

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions