Closed AliSoftware closed 5 years ago
Stencil uses SPM to build and test, so it only needs test dependencies in Package manifest. PathKit versions should match indeed but I guess ~> 0.8.0
will also match 0.9 version when installed via CocoaPods
Ok, I now get it about Spectre.
wrt PathKit, by definition, ~> 0.8.0
matches any 0.8.x
where x > 0
. But doesn't match 0.9
. So no, CocoaPods won't fetch PathKit 0.9 with that spec definition
Stencil 0.11.0 currently declare the following dependencies:
PathKit ~> 0.8.0
PathKit 0.9
and one toSpectre 0.8
Not sure why there's an inconsistency in the
PathKit
versions between the two, and why SPM would need a dependency toSpectre
while CocoaPods wouldn't