Hive Hive
Sign in

Precompiled xcframeworks no longer cause “redefinition of module”

Metadata
Source
GitHub
Version
4.201.0
Published
Jul 03, 2026 · 07:53 UTC
Repository
tuist/tuist
Update

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: