Skip to content

Commit 91c9f1e

Browse files
authored
Updated target dependency example (#85)
Updated the dependency to use .product as instructed by SPM when trying to follow the instructions.
1 parent 272d1f5 commit 91c9f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To add a dependency on the package, declare it in your `Package.swift`:
2323
and to your application target, add `Lifecycle` to your dependencies:
2424

2525
```swift
26-
.target(name: "MyApplication", dependencies: ["Lifecycle"]),
26+
.target(name: "MyApplication", dependencies: [.product(name: "Lifecycle", package: "swift-service-lifecycle")]),
2727
```
2828

2929
### Defining the lifecycle

0 commit comments

Comments
 (0)