Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add SP (Swift Package) and Android libraries as part of the release process #7

Open
kcw-grunt opened this issue Dec 30, 2023 · 0 comments

Comments

@kcw-grunt
Copy link

kcw-grunt commented Dec 30, 2023

Background

People are using ltcsuite/lnd to use in their projects and it is a great resource to promote use the features in the Litecoin ecosystem.

For mobile clients like Android & iOS, leveraging the ltcsuite/lnd library is not as automated as desired. Rather than the CI/CD creating a docker space to create a binary from source, it would be ideal for the mobile client needing the package(s) to simply pull the SDK by referencing the commit or release tag

Adding via SPM

For iOS the most streamlined method to add ltcsuite/lnd would be to add it to the package manifest or look it up in Xcode Swift Package Manager

For example using a Package.swift file:

// swift-tools-version:5.3
import PackageDescription

let package = Package(
    name: "LTCSuite_lnd",
    products: [
        .library(name: "LTCSuite_lnd", targets: ["LTCSuite_lnd"]),
    ],
    dependencies: [
        .package(url: "https://github.com/ltcsuite/lnd.git", from: "v0.14.2-beta.rc2"),
    ],
    targets: [
        .target(name: "LTCSuite_lnd", dependencies: ["KeychainAccess"]),
    ]
)

Your environment

  • version of lnd
  • which operating system (uname -a on *Nix)
  • version of btcd, bitcoind, or other backend
  • any other relevant environment details

Steps to reproduce

Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant