Hello! I’m trying to get my app to build on CI without having to commit my “AppSecrets.swift” file similar to this thread:
I’m using Bitrise “Secrets” to store credentials and app keys then using Sourcery for code gen and build phase run scripts to generate AppSecrets.swift. I got the idea from this thread:
The problem is that I can’t figure out how to automate adding the generated file to the project!
I figured it out, I just needed to change the order of my build phase scripts. Specifically, moving the code gen script to run before the source code was compiled.