xcframework: how to create one with static libraries that have dependencies of static libraries

I am attempting to create an XCFramework from a static library (.a file). I saw another post that you can wrap a static lib using these lines from xcodebuild
Code Block
xcodebuild -create-xcframework -library <path> [-headers <path>] [-library <path> [-headers <path>]...] -output <path>

That works for my library but unfortunately my library has dependencies on another static library. I'm un-sure how to include it. When I try to add that library as another library in the framework I get this error:
Code Block
A library with the identifier "macos-x86_64" already exists.

I am a bit un-sure how to proceed. I would like to avoid making the developer on the other side have to attach the dependency.

any help is appreciated.

thanks


Replies

Same problem for me. Have you figured out a solution ?