As far as I can see, you have already set up separate xcconfig files for each configuration. This means that you can simply add the package identifier key with the corresponding value to each assembly configuration file / xcconfig file.
PRODUCT_BUNDLE_IDENTIFIER = com.mycomp.hockey
You need to make sure that you do not override these xcconfig parameters in the build settings of the Xcode project (the corresponding value should not be in bold).
If you want to switch between your package identifiers on the fly, you may need to create one schema for each build configuration. Thus, you can simply select the appropriate scheme in the Xcode scheme selector (next to the build / run button).

To create a new scheme, simply select New scheme from the New scheme selector and select a name, for example MyApp [Hockey] . Then edit the layout and select your preferred build configuration for each step, for example, MyApp [Hockey] for the Archive step.

You will notice that the packet identifier on the target information screen will change depending on the selected scheme. Sometimes you need to switch to another tab of the parameters of your project, and then return to the "Information" tab before the package identifier changes (one of many Xcode errors).
We use the same approach for all of our projects.
Hope this helps.
source share