Hive Hive
Sign in

Generated projects no longer redefine modules shipped by module-map xcframeworks

Metadata
Source
GitHub
Version
4.202.0-rc.1
Published
Jul 03, 2026 · 09:12 UTC
Repository
tuist/tuist
Update

For xcframeworks that ship a module.modulemap, the generated project no longer adds the xcframework slice’s Headers directory to HEADER_SEARCH_PATHS. Xcode’s ProcessXCFramework already extracts those headers (and the map) into $(BUILT_PRODUCTS_DIR)/include, so the previous behavior put a second copy of the same module on the search path and broke builds with error: redefinition of module 'X'. Xcframeworks without a module map (cached library products) keep their headers on the search path.