-
Notifications
You must be signed in to change notification settings - Fork 1
Description
so that consumers can add it as a dependency to their Swift Package.
Important
Consumers of Dfns Swift SDK cannot use it as a dependency in their Swift Package today because Apple does not
allow .branch specification for released packages. I.e. if CoolCryptoCompany has a Swift Package CCC and they want to depend on
this Swift Package in their Package.swift, since there are git tags in this repo, they have to add this repo as dependency using
.branch but then CCC in turn cannot be used in production, since Apple prevents any Package from using branch: in production. User will be hit with Failed to resolve dependencies Dependencies could not be resolved because package <CUSTOMERS_SPM> is required using a stable-version but <CUSTOMERS_SPM> depends on an unstable-version package 'DfnsSdk' and root depends on <CUSTOMERS_SPM> <CUSTOMERS_SPM_VERSION>
This renders this project unusable with SPM.
Solution is trivial: just git tag 0.0.1.