how to include secrets file

Hi. My app hits an API. I have the API key stored in a config.plist file. Of course, I don't want to include this file in version control. So I omitted it. I have a workflow that when I push to my main branch, it pushes the newest version to internal testers on test flight.

The problem is, the deployed code cannot find the config file, which makes sense.

My approach to this problem has been to use resource tags

Targets > Resource Tags

And I declared that this app should download this resource. I can't figure out how to categorize it as other than download on demand . I would like it to be downloaded immediately with the app.

Am I even on the right track here?

See Adding a build configuration file to your project that describes how to supply different settings for debug and release builds.

how to include secrets file
 
 
Q