Hello.
Our project consists of a Xamarin.Android and Xamarin.iOS app, but right now we are having some issues with the provisioning profile in iOS.
In our scenario we had to add another app in the same repository but in a different branch with different bundle id. We have something like this:
MainApp(Bitrise App) - BranchApp1 -> com.company.app1
MainApp(Bitrise App) - BranchApp2 -> com.company.app2
We have added a different workflow for App2. The issue is that we aren’t able to build successfully App2 (the recently added app) and we have made some testing and trying some methods in order to get it. (App1 is built without problems).
Reading some answers here in the forum, we added the different provisioning profiles and its corresponding p12 certificates for code signing, so in code signing page of the repository we have provisioning profiles and certificates valids for both App1 and App2 but this didn’t work and we were getting a “Could not find any available provisioning profile for iOS” error.
So, a different approach was to add provisioning profile and certificate as generic files in Code Signing page (only for App2) and get the URLs and use this URLs directly in Certificate and profile installer step. We also add the pass phrase as a secret var in bitrise but now we are getting the “No valid iOS code signing keys found in keychain” error.
So, someone has set up this scenario with two apps in two different branches each with its own bundle id or could give me some idea of how to get it?
Thanks in advance.