Reachability.swift icon indicating copy to clipboard operation
Reachability.swift copied to clipboard

How to Add the package within SPM as dependency

Open ishayan18 opened this issue 3 years ago • 5 comments

I am adding Reachability as a dependency in my Swift package. There is no documentation of how would I do that? There is this error unknown package 'Reachability' in dependencies of target 'ABC'

My swift.package manifest code

.package(url: "https://github.com/ashleymills/Reachability.swift.git", from: "5.1.0"),
.product(name: "Reachability", package: "Reachability"),

ishayan18 avatar Jan 05 '21 12:01 ishayan18