- For CI/CD we are using Xcode Cloud.
- My application have three build configurations: Debug, Stage and Release.
- In the Xcode Cloud we have set up two pipelines: Stage and Release.
- Default build configuration for archive state is Release. Image attached
When we are triggering Stage pipeline it executes archive with Release configuration. Here is no the way to set build configuration for pipeline.
How to change active build configuration in Xcode Cloud pipeline?
One thing you can do is to create another scheme, like BSG-Stage and set the build configuration of it to Stage (instead of release). Then you can add a separate workflow in XCode cloud for the staging and select the "BSG-Stage" scheme.