How to make the referenced xcconfig file appear in the Project?

Question or problem

I have some xcconfig files that are integrated into the project via .settings(configurations:).

These xcconfig files have some base configuration files referenced within them using #include:

➜ XCConfig git:(develop) ✗ tree -L 1 -a
.
├── Config.adhoc.xcconfig
├── Config.debug.xcconfig
├── Config.release.xcconfig
└── BaseConfig.xcconfig # Base configuration file

The configurations parameter can only specify one path, so I set it to Config.*.xcconfig, but after generating the project, the xcproject does not contain BaseConfig.xcconfig. This is normal because I didn’t tell me the path to it anywhere Tuist.

So please, what can I do to make BaseConfig.xcconfig show up in xcproject as well?

Expectation

Be able to display the referenced xcconfig file in the xcproject file while keeping the folder directory hierarchy intact.

Context

  • Tuist version: 4.49.1

Hello, does using Project.additionalFiles would do the trick ?

Hello, does using Project.additionalFiles would do the trick ?

Great, that’s what I wanted, thank you very much!