Build to multiple ios apps from same repo

Hi All,

We are building an app and it’s going great. however, I am trying to build the app and deploy to multiple ios apps for a different environment.

We have internal teams that have a Demo environment, These are non-production environments. I have 2 Apps in my apple developer dashboard. Example myApp and myApp-Demo, these both have different identifiers. com.mobile.myapp and com.mobile.myappdemo

I an using azure pipelines to do the builds and publish to TestFlight. It works well with com.mobile,myapp as that is what was used when creating the project. but when I try to deploy it for com.mobile.myappdemo the signing stage fails. I am using task: Xcode@5

It works for com.mobile.myappdemo, if I update the .pbxproj file via xcode with correct params.

Is there a handy way to specifiy this during the build?

Thanks