Skip to content

Integrating WalletKit into the iOS Project #352

@domagoj-grizelj

Description

@domagoj-grizelj

I'm looking for a proper way to integrate WalletKit into an iOS project without using Swift Package Manager.

Our project and CI pipeline revolve around using Cocoapods for managing dependencies.
One of the issues when trying to use cocoapods is that WalletKit SDK contains lots of files with duplicate names that are located in different folders. Since cocoapods flatten the entire folder hierarchy into a single folder this immediately causes issues in our project.

Our idea was to create Xcode Framework project that would be a wrapper around the WalletKit, and then generate .framework that would get uploaded into a new repo and would be configured to be used by cocoapods. The issue is that .framework can't include Swift Package Dependencies in the generated .framework due to this limitation:
https://stackoverflow.com/questions/65220359/add-package-dependency-for-a-binary-target-with-swift-package-manager

Are there any proper instructions to add WalletKitSwift and WalletKitCore into a project without reliance on any dependency manager?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions