Again, how are you building A.framework? Where does it come from?
I have a similar problem. In my case I create a binary framework A.framework
which contains a embedded framework say Sample.framework
(sign and embed). A.framework is created by Xcode. I use xcodebuild -create-xcframework to create a A.xcframework
and finally use it as a dependency in B.framework (also sign and embed).
When I try to archive B.framework, I get this error No such module 'Sample'
.
Check out this sample project GitHub - aswathr/TestXCF: Sample project to illustrate issue building framework with package dependencies
Build B_XCF
for the error
1 Like
Found any solution? I am facing the same problem with creating XCframework.