Skip to content

Commit ddb815f

Browse files
authored
docs: Add note about duplicate dependencies
1 parent 6d19d2a commit ddb815f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/swift-container-plugin/Documentation.docc/Adding-the-plugin-to-your-project.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Swift Container Plugin is distributed as a Swift Package Manager package. To
88

99
### Install the plugin using the `swift package` CLI
1010

11+
> Adding the same dependency to your project more than once will prevent it from building.
12+
> If this happens, delete the duplicate dependency lines from `Package.swift` and rebuild.
13+
1114
Recent versions of `swift package` suupport the `add-dependency` command:
1215

1316
```shell

0 commit comments

Comments
 (0)