I am at present dealing with a problem whereas making an attempt to create an XCFramework from my Xcode undertaking, which is a dynamic library that has dependencies managed through Swift Bundle Supervisor (SPM).
The one dependency I’m utilizing is: I’m utilizing: https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-kit (on cascade it has a number of dependencies).
My library is meant for distribution, and I must construct it with BUILD_LIBRARY_FOR_DISTRIBUTION=YES to permit binary compatibility throughout variations.
The issue arises throughout the creation of the XCFramework, particularly throughout module interface verification (SwiftVerifyEmittedModuleInterface), leading to a failure.
It looks as if the problem is linked to the Swift Bundle dependencies concerned within the undertaking.
Compilation in xCode works when BUILD_LIBRARY_FOR_DISTRIBUTION is ready to NO, in any other case it does not work.
Creation of the XCFrameworks by no means works.
How can I correctly create an XCFramework from an Xcode undertaking that has this SPM dependency, whereas avoiding the publicity of the supply code?
Any assist or steering can be significantly appreciated!