Targets depending on a precompiled xcframework that ships its own module.modulemap no longer fail with Redefinition of module 'X'. Xcode’s ProcessXCFramework already extracts headers and the module map to (BUILT_PRODUCTS_DIR)/include, so duplicated headers are skipped for xcframeworks that ship a module map. Module-map-less xcframeworks still get their headers.
This regression was introduced with library product caching, so customers hitting Redefinition of module errors on dependency xcframeworks can regain clean builds.
Source URLs: