eu-digital-identity-wallet / eudi-lib-ios-wallet-kit

This repository contains the EUDI Wallet Kit library for iOS. The library is a part of the EUDI Wallet Reference Implementation project.
https://eu-digital-identity-wallet.github.io/eudi-lib-ios-wallet-kit/
Apache License 2.0
11 stars 14 forks source link

BUILD_LIBRARY_FOR_DISTRIBUTION causes Build failure for EudiWalletKit integration in Dynamic Library #117

Open kimera84 opened 1 week ago

kimera84 commented 1 week ago

Hello,

I'm encountering an issue when integrating EudiWalletKit (v0.6.9) into an Xcode project that needs to be distributed as an XCFramework.

My project setup:

Xcode Version: 16 Project Type: Dynamic library (intended to be built and distributed as an XCFramework) Integration Method: Swift Package Manager (SPM) dependency for EudiWalletKit Problem When I set BUILD_LIBRARY_FOR_DISTRIBUTION to YES in my project, the build fails with the following error:

SwiftVerifyEmittedModuleInterface normal arm64 Verifying emitted module interface WalletSDK.swiftinterface

After setting BUILD_LIBRARY_FOR_DISTRIBUTION to NO, the build succeeds, but this is not an ideal solution as I need to ensure binary compatibility for the distributed XCFramework.

kimera84 commented 1 week ago

Could you advise on an alternative integration method that allows incorporating EudiWalletKit without using Swift Package Manager (SPM)? Our goal is to ensure that the source code of our SDK remains convenient for our clients while keeping EudiWalletKit fully functional (on our sdk).