I'm finding xcframeworks are working effortlessly when importing them into a host application, or into the test target of a host application. There's one case where I can't get it to work. I have an xcframework (B) which depends on another xcframework (A). xcframework B has xcframework A added to its section "Link Binary with Libraries". That works fine. But xcframework B also has a test target, which depends upon xcframework B, but that test target cannot see what's in xcframework A. I added xcframework A to its "Link Binary with Libraries" section like I would with any normal app or other framework, but it doesn't work the same way. Previously when I had dynamic frameworks doing the same thing I added the dynamic framework to a copy files phase copying, which made it all work. The same equivalent thing isn't working with an xcframework. Is there any way to do this?
How to link xcframework into the test target for another xcframework
You can manually add frameworks (Other linker flags) and search paths (Framework Search paths) in the Build Settings tab.