Tuist handles resources in static libraries by creating a companion .bundle target, which includes String Catalogs. This setup works for runtime localization, but currently, Tuist does not implement special handling or synthesized accessors for String Catalogs (.xcstrings)—this part is marked as a work-in-progress in the codebase. As a result, Xcode’s string extraction doesn’t work as expected for static libraries, and .xcstrings are just treated as generic resources in the bundle. Your proposed workaround—adding the String Catalog to the static library’s Copy Bundle Resources list—aligns with how Xcode expects to find these files for extraction, and is a reasonable approach given the current state of Tuist’s implementation. There isn’t any official documentation or built-in support for this scenario yet, and no existing tickets or discussions directly address this specific extraction issue. For now, your ad-hoc script is the best available solution until Tuist adds first-class support for String Catalogs in static libraries.
Relevant code references
WIP status for .xcstrings
To reply, just mention @dosu.
Docs are dead. Just use Dosu.