I have one Xcode project that has 3 different configurations spread across 6 schemes as follows:
- Debug
- Config1Debug
- Config2Debug
- Release
- Config1Release
- Config2Release
Each Scheme:
- Has its own Display Name and Bundle Identifier.
- Has the proper Development/Distribution provisioning profiles generated from iTunes Connect assigned to them.
I would like to put the 3 release configurations onto the TestFlight/App Store as separate applications.
When running on a simulator or local iPhone using the Debug Schemes, everything works properly and 3 different applications run.
My problem is that when I archive the release schemes and then try to validate, the Bundle ID and the provisioning profile defaults to the "Release" scheme regardless of which scheme I am archiving. But the display name updates to the proper display name of the scheme.
My question is why is the display name properly updating while the Bundle ID and the provision profile defaulting to the "Release" scheme and how can I get the proper Bundle Id and Provisioning Profile to appear when doing validation?
Things I Have Tried
- Deleting then re-downloading all the provisioning profiles on my machine
- Restarting Xcode
- Uploading the application anyways. I get an error saying the build number conflicts with the already uploaded Release app. I want to upload to the Config1 or Config2 app I have made on iTunesConnect, not the Release one.
- Uploading the application anyways with a new build number. This will register as a new build on the Release app.