Replies: 1 comment 3 replies
-
Generally, this seems to be a good approach.
I am thinking of another alternative, but I don't know if it is feasible: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Need/problem
The reason for creating
DSKit
was to facilitate the development of mobile applications. In the context of Double Symmetry the mobile applications we're creating are sometimes for clients and parties who don't have access to this private repository.Motivation
While we decide whether this repository can be or should be public / open source. It would be great to find a way to be able to embed
DSKit
into applications where third parties could still run the projects without getting into issues because of trying to use a private package.Detailed design
I propose that we expose a counter repo (i.e. DSKitPublic) where we define a Swift Package that exposes a framework. This is something that Swift Package Manager (SPM) already supports.
Upon us releasing a new version here in
DSKit
the CI would build an.xcframework
(i.e. with create-xcframework), push it to the public repository and tag it with the new version number.This would allow us to point to the DSKitPublic repository in our projects via SPM.
Drawbacks
Some possible drawbacks would be:
DSKit
open source, users would have to change the dependency to point to this repo insteadAlternatives
this is a decision that cannot yet be made as the project is not big enough.
Beta Was this translation helpful? Give feedback.
All reactions