Open domagoj-grizelj opened 3 years ago
In a Java environment, the CMakeLists.txt file is used to compile all the required C code. Can you not create libWalletKit
using CMake and then include the Swift code in a way consistent with your development environment?
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-managerAre there any proper instructions to add WalletKitSwift and WalletKitCore into a project without reliance on any dependency manager?