Let us say that we have two valid certificates and two corresponding provisioning profiles for a single application.
Let us say that we need this setup for reasons unrelated to the question.
How can we use fastlane / fastlane match to use either one or another depending on some additional conditions (to be specified in fastfile)?
The certificate / provisioning profiles can be mapped by
app id, andbuild schemes, which named withrelease, or custom names likeappStore,appStore_forA,appStore_forB.I has an app, with 2 different
app id. ex,app_A, andapp_B. I distinguish them by build scheme. One isappStore_A, and another isappStore_B.In my
fastlanefile, it likes following.app_A, andapp_Buse the sameapp.xcworkspace, but they are in differentschemeand different apptarget.