≈ the.bay.news

Difficulties using pre-releases of swift packages

Swift Forums
Difficulties using pre-releases of swift packages
This is how I understand pre-release versions to work in SPM: If package C has versions "1.0.0" and "1.1.0-alpha", and application A depends on C using .package(id: "C", from: "1.0.0"), only version "1.0.0" will be considered valid. However, if A specifies .package(id: "C", from: "1.0.0-alpha"), both versions will be valid. Additionally, A can specify .package(id: "C", exact: "1.0.0") or .package(id: "C", exact: "1.1.0-alpha") to get either the stable or pre-release version. So, if A currently ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.