I am trying to come up with the most efficient way to build my app for development, testing and production environments (for distribution).
I am using firebase which would require me to replace a couple of configuration files such as GoogleService-Info.plist
So my initial idea is to create 3 pipelines which are doing same thing but replacing a file for each environment. However, that will take more than 1.5 hours to build for every environment.
- Any ideas about how to make it more efficient so that I don’t need to rebuild it every time?
- I have added distribution certificate and distribution provisioning profile for code sign but how do I choose which one to use while it does Xcode Archive & iOS export?
- Do I need to override export type to app-store, ad-hoc? How to override it?