XcodeProj-based integration drops resources of static binary frameworks from SPM packages

Question or problem

With the XcodeProj-based integration (.external), resources inside a static framework of an SPM binaryTarget never reach the app. Example: BigoADS-Swift-Package 6.1.0, which ships BigoADSRes.bundle and PrivacyInfo.xcprivacy inside a static BigoADS.framework. Tuist only links the framework, so the SDK can’t find its resources at runtime.

The same package with Xcode’s default integration (.package(product:)) works: Xcode embeds the static framework without its binary into App.app/Frameworks/BigoADS.framework, together with the bundle and the privacy manifest.

Attached two identical apps that differ only in the integration

Expectation

Static frameworks with resources from SPM binary targets are embedded the way Xcode does it, or their resources are copied into the app.

Context

  • Tuist version: 4.197.1

Reproduction (mandatory for problems)

Here is a link to example project reproducing the problem.